Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

easier alternative to bison/flex/yacc?

Name: Anonymous 2007-01-27 18:30

Is there an easier-to-use alternative to bison/flex/yacc/etc for writing parsers?

It's not that I don't understand computer grammar theory.  It's that the documentation and syntax for these programs suck ass.  Richard Stallman fails at documenting his faggotry, not sorting things neatly and omitting needed details.  And examples that work in the info files result in error messages when used with these programs.

Name: Anonymous 2007-01-27 18:43

I thought Flex and Bison were a piece of cake. I ignored the documentation, and made use of a few good examples to start experimenting.

There's also this: http://www.cs.queensu.ca/~thurston/ragel/

Name: Anonymous 2007-01-28 0:57

>>1

I'm with >>2. Once I started using Flex and Bison, I wanted to make sweet love to them because it was so much easier/more powerful than ad-hoc. I kept all my code from college, if you want I have a semi-recent example that might work for you. Want?

Name: Anonymous 2007-01-28 1:32

>>1


Try antlr.

Name: Anonymous 2007-01-29 1:21

strtok() OR GTFO

Name: Anonymous 2007-01-29 2:31

it seems to me you're almost always better off writing your own lexer and feeding yacc that way.  theres an orly book on yacc that is pretty decent, and mks makes a yacc too.

Name: Anonymous 2007-01-29 4:47

Name: Anonymous 2007-01-29 7:37

>>5
lololol

Name: Anonymous 2007-01-29 9:37

www.parsec.org (lol a sight of long lost times, go to http://www.cs.uu.nl/~daan/parsec.html) or GTFO

Name: Anonymous 2009-01-14 14:49

FGGFDS

Name: Sgt.Kabu쭒季kiman肩輸 2012-05-28 22:12

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List