« Return to Thread: Dynamic generation of parsed source

Dynamic generation of parsed source

by Jean-Francois_Gagnon :: Rate this Message:

Reply to Author | View in Thread

Hi,
 
I have a need to tinker with the source code while it is being parsed, in other words some parsed statements will have a direct impact on the code that follows, either being a symbolic replacement, or adhoc inclusion of source code, line by line as line is the main delimiter.
 
Is there an elegant way to handle this with Sablecc, either by having a modified reader that would feed the parser resulting lines?
 
regards
 
JFG

_______________________________________________
SableCC-Discussion mailing list
SableCC-Discussion@...
http://lists.sablecc.org/listinfo/sablecc-discussion

 « Return to Thread: Dynamic generation of parsed source

LightInTheBox - Buy quality products at wholesale price!