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

Pages: 1-

Yacc and flex

Name: Anonymous 2010-07-25 14:51

Has anyone here written a language with them? Is it hard?

Name: Anonymous 2010-07-25 14:55

U MENA IMPLEMENTED A SYNTAX

Name: Anonymous 2010-07-25 15:01

>>1
Yes, I have.  No, it's not.  But there are more modern tools. I use Ragel instead of Flex, it's much nicer but you have to learn a little more to use it. Bison is the yacc replacement, just like flex is the lex replacement.  Use bison, not yacc.  Lots of people use ANTLR instead of bison/flex.

I still use bison/flex for quick, one-off languages.

Name: Anonymous 2010-07-25 15:04

Writing a language isn't hard, that's why there are so many of them.

I prefer parser-combinators because I am a Haskell nomad

Name: Anonymous 2010-07-26 9:25

You've a little late to the ★/prog/ Challenge Vol. 5★, >>1

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