What Lexical Analyzer and Parser generators are the cool kids using these days?
-
I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?
The other option that you may find worthwhile 'RKV' is 'Irony for .NET' 'g'
-
I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?
this is quite interesting :- http://www.thefreakparade.com/2008/07/evaluating-expressions-at-runtime-in-net-c/[^]
-
I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?
Rama Krishna Vavilala wrote:
I briefly came across ANTLR
ANTLR was what I used in my compiler construction class about 5-6 years ago.
-
I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?
-
I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?
You've had answer for your second question and the first remains unanswered. I'll go with none.
-
The other option that you may find worthwhile 'RKV' is 'Irony for .NET' 'g'
Ironically, Now I remember coming across it long time back. It appears lot more polished now.
-
I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?
Rama Krishna Vavilala wrote:
the cool kids
Why would you ask that here? :confused:
-
I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?
Rama Krishna Vavilala wrote:
Surely, they are outdated in these days of managed code
I don't see the connection between managed code and parsers for custom languages.
See if you can crack this: b749f6c269a746243debc6488046e33f
So far, no one seems to have cracked this!The unofficial awesome history of Code Project's Bob! "People demand freedom of speech to make up for the freedom of thought which they avoid."
-
I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?
Irony is all managed code http://irony.codeplex.com/[^]
-
I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?
May I know what purpose you need it for? GPPG[^] is pretty much like yacc, but spits out C# code. It can also be asked to generate glue code for integration with a Visual Studio language service. Oh, and ANTLR is a LL parser, which means your grammar is slightly restricted (no left recursion).
Regards Senthil _____________________________ My Home Page |My Blog | My Articles | My Flickr | WinMacro
-
May I know what purpose you need it for? GPPG[^] is pretty much like yacc, but spits out C# code. It can also be asked to generate glue code for integration with a Visual Studio language service. Oh, and ANTLR is a LL parser, which means your grammar is slightly restricted (no left recursion).
Regards Senthil _____________________________ My Home Page |My Blog | My Articles | My Flickr | WinMacro
I need it to parse a language similar to SQL.