Ragel State Machine Compiler
colm.net
Ragel State Machine Compiler
1–10 of 22 posts
Re: Ragel State Machine Compiler
#2Re: Ragel State Machine Compiler
#3How is this different from Lex, written in 1975? Even the syntax looks fairly similar. https://en.wikipedia.org/wiki/Lex_(software)
Re: Ragel State Machine Compiler
#4Re: Ragel State Machine Compiler
#5How is this different from Lex, written in 1975? Even the syntax looks fairly similar. https://en.wikipedia.org/wiki/Lex_(software)
Ragel allows embedding actions into the subexpressions of a regular expression. This allows one to compose a parser using a single regular expression.
Re: Ragel State Machine Compiler
#6How is this different from Lex, written in 1975? Even the syntax looks fairly similar. https://en.wikipedia.org/wiki/Lex_(software)
Ragel allows embedding actions into the subexpressions of a regular expression. This allows one to compose a parser using a single regular expression.
Re: Ragel State Machine Compiler
#7Earlier quoted context omitted.
Ragel allows embedding actions into the subexpressions of a regular expression. This allows one to compose a parser using a single regular expression.
Why would you want to do that?
A good example is the http code Zed wrote with ragel. From what I remember it was contracted by verisign because they wanted an implementation that actually followed the spec in detail, unlike all other code available at the time. That ragel code has been reused by a lot of embedded http servers in many languages now.
Re: Ragel State Machine Compiler
#8Earlier quoted context omitted.
Ragel allows embedding actions into the subexpressions of a regular expression. This allows one to compose a parser using a single regular expression.
Why would you want to do that?
Re: Ragel State Machine Compiler
#9Thanks Adrian for your efforts.
Re: Ragel State Machine Compiler
#10How is this different from Lex, written in 1975? Even the syntax looks fairly similar. https://en.wikipedia.org/wiki/Lex_(software)