3 ms·
For the parsing aspects, reading about parser generators or the like would be super useful
by rtpg 12y ago
For the parsing aspects, reading about parser generators or the like would be super useful
- gorgas 12y agoI would not recommend using a parser generator tool to build a recognizer por any programming language,unless you design your language to be LL(1) or LL(k) witk a low value of k. Otherwise you are going to suffer a lot with parsing issues. Parser generators usually have a very limited number of target languages, so you might find yourself stuck into a language you do not want to code in.
- rtpg 12y agohmm, your results may vary (whitespace-sensitive languages, but that's tricky in pretty much any toolkit), but in my experience most DSLs that people want to write fit well within LL(k). Java works in it, after all. I started out with Yacc, though, and that helped me out a lot more...