|
parser & scanner: msg#00298lang.erlang.general
Hi, I need to write a (simple) parser, and I thought I'd use leex and yecc. All fine, except for one thing: one of the tokens is a string that looks like this 3:abc (the length is before it). I couldn't find a way to do it with leex, so I preprocess the input, removing the length and enclosing the text with markers. Works fine - if the marker is guaranteed not to be found in the string, which isn't. Before I set on to writing a lexer by hand, I wonder if there is another way? best regards, Vlad |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Bug in GS: 00298, WILLIAMS Dominic |
|---|---|
| Next by Date: | newbie question: 00298, Primanathan Reddy [ MTN - Innovation Centre ] |
| Previous by Thread: | Bug in GSi: 00298, WILLIAMS Dominic |
| Next by Thread: | Re: parser & scanner: 00298, Ulf Wiger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |