AREPL-vscode
AREPL-vscode copied to clipboard
make #$start & #$stop tags for your parser
Hi! You have the "#$end" tag, but it is useless in many cases. How can I stop parsing and start it again from some different place skipping some blocks not to be parsed.
Please make two universal tags, say "#$start" for the parser to switch on, and "#$stop" to switch off to skip parsing unwanting blocks. I remember this technique from masm32, as for listing directives [ %list / %nolist ]. So, we can put them freely to . %list directive starts listing, %nolist stops it. Then we can start it again, then stop... The best and the simplest. Think about it. It would be a simple and marvelous solution ever. And very subtle. And Universal. Sorry if i missed something, and this is already implemented or is going to be solved in the future. It could be used ерут for really large modules for testing in separate code blocks.
Adding a single #$start tag would be pretty simple 🤔 but you would have to redeclare any imports at the top. Are you okay with that? If you have time I would like to hop on a call with you to see how you're using AREPL and talk about your idea.