aboutsummaryrefslogtreecommitdiff
path: root/asm/main.cpp
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-15 04:37:43 +0630
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-15 04:37:43 +0630
commit062ed1227849f9954427c8e13c0b720b68c78f63 (patch)
tree5c22c25a5d333b8cccf67917e6debb8c6feaef3a /asm/main.cpp
parent72ef40e6718cbe309a8fe6f32ac31adb1a40dda2 (diff)
downloadovm-062ed1227849f9954427c8e13c0b720b68c78f63.tar.gz
ovm-062ed1227849f9954427c8e13c0b720b68c78f63.tar.bz2
ovm-062ed1227849f9954427c8e13c0b720b68c78f63.zip
Rewrote preprocesser API
This C++ rewrite allows me to rewrite the actual API of the system. In particular, I'm no longer restricting myself to just using enums then figuring out a way to get proper error logging later down the line (through tracking tokens in the buffer internally, for example). Instead I can now design error structures which hold references to the token they occurred on as well as possible lexical errors (if they're a FILE_LEXICAL_ERROR which occurs due to the ~%USE~ macro). This means it's a lot easier to write error logging now at the top level.
Diffstat (limited to 'asm/main.cpp')
0 files changed, 0 insertions, 0 deletions