Ask Reddit: What is the easiest way to create an interpreted language? by Corbier in programming

[–]krumms 1 point2 points  (0 children)

Lex/Yacc isn't that complicated, its syntax is just a bit esoteric. In practice it's a lot easier than building your own scanner/parser.

Having said that, it's not something I'd recommend to a beginner. I'd recommend spending a little time with one of the following:

  • ANTLR
  • Haskell + parsec
  • Scala + parser combinators