Where to find a comparison of Flex/Bison, Ragel, ANTLR and others?
Asked Answered
P

2

11

I am intending to define a protocol similar to Open Sound Control, but a bit different.

The idea is quite complex, and I won't try to describe it here.

Suppose I was to implement an OSC library using libev and one of the tools in the subject line.

What would one recommend, and why?

Ragel seems quite tempting, though ANTLR may be the right thing too. However sticking to traditional UNIX things is also a good idea (i.e. lex/yacc).

Also I am mostly interested in what would be most suitable for an embedded platform (say 200MHz ARM chip running Linux).

Pretorius answered 28/5, 2011 at 14:45 Comment(4)
I didn't add Lemon to the list; it might be worth considering. How much memory would be available on your embedded platform?Yeseniayeshiva
You could start right here... #213400 ;)Polite
I will have look at lemon then :)Pretorius
However, may be with ragel I'd be able to design the entire app, but may be a cumbersome coding practice really..(Pretorius
R
4

Wikipedia has a list that includes ANTLR, Lemon, Flex, Bison, Ragel, etc.

http://en.wikipedia.org/wiki/Comparison_of_parser_generators.

Revivify answered 30/9, 2011 at 17:32 Comment(1)
#213400 similar topicServal
P
0

some opinions:

Peres answered 28/10, 2021 at 6:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.