Almenon / Almenon/AREPL-vscode

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

Abierto
#385 2 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
TypeScript
Estrellas
301
Forks
46
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.