Connor Olding
f851540b24
various fixes, mostly for labels
...
reimplement modulo by 0x80000000 for labels.
allow numeric label values ("REL") to be "fixed" to bypass label calculation.
add offsets after label calculation instead of before.
properly check for EOL after all expected arguments have been exhausted.
finally, add token properties to debug dumps.
2016-04-24 03:55:12 -07:00
Connor Olding
1188543cd2
more verbose errors
2016-04-23 16:24:46 -07:00
Connor Olding
91e028ef6a
rename internal DEF to VAR
2016-04-20 16:28:59 -07:00
Connor Olding
486ccb99af
begin refactor; add statement collection
2016-04-20 16:23:44 -07:00
Connor Olding
d10c0f0ee9
use Base class pattern; extend off existing classes
2016-04-20 13:15:17 -07:00
Connor Olding
071169df48
redo internal paths/requires
2016-04-14 07:33:33 -07:00
Connor Olding
4220509be5
expect addresses in literal immediates of branches
...
this is more useful than letting the immediate number simply pass through
2016-04-02 08:38:22 -07:00
Connor Olding
260db0ba9e
fix a couple regressions
2016-01-16 10:51:13 -08:00
Connor Olding
07c68b6229
implement basic specials; more refactoring
2016-01-15 20:34:37 -08:00
Connor Olding
195236a52c
begin work on specials; big refactor
2016-01-15 11:15:02 -08:00
Connor Olding
c0c4d81b5a
handle parenthesis after lexing instead
2016-01-15 07:49:43 -08:00
Connor Olding
659bec36f8
reimplement defines
...
defines now resolve to the previous definition, rather than the lastmost.
also, defines are invisible to the parser now.
2016-01-14 17:29:45 -08:00
Connor Olding
61cd69004f
split out token-handling and preprocessing
2016-01-14 16:31:24 -08:00