vua/constants.v
2025-06-24 03:00:44 -05:00

56 lines
524 B
V

module constants
pub enum Primitives as u8 {
nil
bool
number
decimal
string
table
function
}
pub const primitives = [
'nil',
'bool',
'number',
'decimal',
'string',
'table',
'function'
]
pub const keywords = [
'and',
'assert',
'begin',
'break',
'continue',
'class',
'do',
'else',
'elseif',
'end',
'foreach',
'forever',
'function',
'if',
'import',
'in',
'local',
'nil',
'not',
'module',
'match',
'or',
'repeat',
'return',
'then',
'true',
'pragma',
'record',
'until',
'while',
]