Almenon / Almenon/AREPL-vscode

make #$start & #$stop tags for your parser

未关闭
#385 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
TypeScript
星标
301
派生
46
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。