On Jan 19, 2010, at 12:50 PM, Scott Stanchfield wrote: > A little thing to add to the todo list if possible: > > I've been looking into debugging support in eclipse. When generating > code, can you add in source-grammar-line/col-matchup comments a bit > more often? in particular, having them appear just before any action > code that's dropped into the generated code would be cool.
yeah, easy to do > Even better: if the comments could also appear before/after attribute > expansion that would help as well. that could work although it might cloud the output a little bit. > My goal is to be able to use the target-language debugger and map the > current code position back to the grammar. This allows walking the > grammar while being able to use all of the features of the > target-language debugger (like inspecting variables and such). yeah, it's amazing how much those comments help even as they are. > I know how to set this up for Java (I did it in ANTLR 2 using Java > SMAPs and it worked well), and I suspect other target languages could > do something similar with a bit more information. > > BTW: +1 for $FIRST/$FOLLOW! yep, long overdue T List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
-- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
