blob: 62a56e98327ebc7de5ee3bf2596c22da174fed9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
from enum import Enum
# A built-in primitive type (int, bool, str, etc).
class BuiltinType(Enum):
BOOLEAN = 'booleano'
STRING = 'cadena'
CHAR = 'caracter'
INT = 'entero'
VOID = 'vacio'
Type = BuiltinType
|