dcsimg
ANNOYANCE: no strings in AST patterns
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jonathan_Shapiro
Posted On:   Tuesday, December 18, 2001 04:57 AM

This is a minor annoyance, but might want to go on a low-priority bug list somewhere.


It seems silly that I can write #(..., [LITERAL_foo], ...) but not #(..., "foo", ...) . I can't think of any syntactic reason why this should not be straightforwardly acceptable to the parser, and it is considerably more readable.

Re: ANNOYANCE: no strings in AST patterns

Posted By:   Terence_Parr  
Posted On:   Thursday, December 20, 2001 11:30 AM

Hi Jonathan...I use this a lot when building tree grammars. Are you sure it doesn't work? Sounds like it isn't getting the appropriate vocab imported from your parser/lexer duo.
About | Sitemap | Contact