You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should have some more output options to show some useful stuff.
Initial ideas:
--asm: output assembly, basically all the opcodes right before we turn them into bytes
--ast: output an AST, basically the object we get after calling `syntax->datum`in the compilation phases pipeline
In puff/puff.rkt we have a few functions that set up some compilation pipelines. To implement these alternative outputs, the easiest way would be to define new functions there, and then in main.rkt hook those functions up to the right cli flags.
Documentation for the cli flag stuff we're using can be found here
The text was updated successfully, but these errors were encountered:
this part of the code is already pretty repetitive which isn't always great
it is however really clear and explicit exactly which stages of the compilation pipeline each function calls, and maybe that explicitness is worth the repetitiveness
its possible this gets rewritten in the future but it still would be useful to have this implemented
We should have some more output options to show some useful stuff.
Initial ideas:
In
puff/puff.rkt
we have a few functions that set up some compilation pipelines. To implement these alternative outputs, the easiest way would be to define new functions there, and then inmain.rkt
hook those functions up to the right cli flags.Documentation for the cli flag stuff we're using can be found here
The text was updated successfully, but these errors were encountered: