Open bosley opened 1 year ago
will need a way for the interpreter and parser to share macro definitions. perhaps a macro-specific env
Perhaps right when instruction ind, but this need to make macros expand out to their symbolic equivalencies before being submitted for processing. In this way they won't be executed every time they are referenced.
When macros are called they are stringed, built and emplaced into source. This can and should be done at parse time I think. It shouldn't lead to a speed decrease, if anything, it would optimize the code. We could have all calls to macros done once, rather than every time if they are being called in a loop.