Asm/#20: Read files with pre-processor
If the grammar allows it, read files through a C pre-processor. This would require attention regarding at least:
- comments;
- opcodes, variables and registers syntax;
- quoting.
TitleUsernameDatePreview
This is now implemented and works.
A couple hacks were necessary though, in particular registers are parsed as two tokens instead of one (because of the % operator).
A couple hacks were necessary though, in particular registers are parsed as two tokens instead of one (because of the % operator).
A preliminary version of the libcpp library was committed yesterday. It should be possible to use it with the assembler.