These are just some continued refactoring changes as I work on the preprocessor and transition into the parser.
The key points are:
The preprocessor now has initial support for function-like macros and token pasting (infix ##)
There is a new interface for reading tokens in parsers that gets rid of some of the ugly and error-prone aspects of using a List<Token> and an int
The output for one of the test cases changed, but I think it is an overall improvement (no more internal compiler error, and no more spurious errors after the main one).
These are just some continued refactoring changes as I work on the preprocessor and transition into the parser.
The key points are:
##
)List<Token>
and anint
The output for one of the test cases changed, but I think it is an overall improvement (no more internal compiler error, and no more spurious errors after the main one).