Module: FAM::Syntax::Tokens
- Defined in:
- lib/fam/syntax/tokens.rb
Constant Summary collapse
- TYPES =
[ :OPCODE, :OPERAND, :NUMERIC, :REGISTER, :ADDRESS, :LABEL, :IDENT ].map(&:to_s)
- OPERATORS =
[ :'+', :'-', :'|', :':' ].map(&:to_s)
- OPCODES =
[ :HALT, :ALIAS, :DATA, :STORE, :LOAD, :GOTO, :DATA, :EQUAL, :MORE, :LESS, :ADD, :SUB, :MUL, :DIV, :MOD, :SLEEP, :IN, :OUT, :ASCII ].map(&:to_s)