I
Iñaki Baz Castillo
Hi, I'm new in this maillist so hello to all.
I want to do a SIP protocol parser in Ruby (SIP protocol is very similar to=
=20
HTTP) so I'm looking for the most appropiate parser in Ruby. Also, it's the=
=20
first time I try to do something like this so I need first lot of doc readi=
ng=20
(yacc, lex, LARL, LL, BNF...).
I'd just like to know with parser is a good option for my purpose since I'v=
e=20
found "too much" of them:
=2D rex
=2D ruby-lex
=2D racc
=2D ruby-yacc
=2D coco-rb
=2D TreeTop
=2D Ragel
=46or now I don't look for the fastest and most efficient parser, maybe jus=
t for=20
the easiest one. I will read those days about Yacc and Lex since I assume=20
they are the base of all of them, and I know that typically Yacc is used in=
=20
conjunction with Lex so:
If I choose Racc, will I need Rex?
If I choose Ruby-Yacc, will I need Ruby-Lex?
Note that I want to get Ruby code, not C, C++ or others.
My purpose is just receiving SIP requests (similar to HTTP requests) and pa=
rse=20
them (maybe into Ruby objects) to work with them (implement a SIP stack).
They are lots of options and I'm getting a little "lost" with so many doc t=
o=20
read. Any orientation please?
Thanks a lot and best regards.
=2D-=20
I=C3=B1aki Baz Castillo
I want to do a SIP protocol parser in Ruby (SIP protocol is very similar to=
=20
HTTP) so I'm looking for the most appropiate parser in Ruby. Also, it's the=
=20
first time I try to do something like this so I need first lot of doc readi=
ng=20
(yacc, lex, LARL, LL, BNF...).
I'd just like to know with parser is a good option for my purpose since I'v=
e=20
found "too much" of them:
=2D rex
=2D ruby-lex
=2D racc
=2D ruby-yacc
=2D coco-rb
=2D TreeTop
=2D Ragel
=46or now I don't look for the fastest and most efficient parser, maybe jus=
t for=20
the easiest one. I will read those days about Yacc and Lex since I assume=20
they are the base of all of them, and I know that typically Yacc is used in=
=20
conjunction with Lex so:
If I choose Racc, will I need Rex?
If I choose Ruby-Yacc, will I need Ruby-Lex?
Note that I want to get Ruby code, not C, C++ or others.
My purpose is just receiving SIP requests (similar to HTTP requests) and pa=
rse=20
them (maybe into Ruby objects) to work with them (implement a SIP stack).
They are lots of options and I'm getting a little "lost" with so many doc t=
o=20
read. Any orientation please?
Thanks a lot and best regards.
=2D-=20
I=C3=B1aki Baz Castillo