2

This Recursive descent parser is so fucking recursive.

Comments
  • 1
    have fun with ledt recursive Lexing patterns :) ruined me once a whole day.
  • 1
    @romangraef were you building a programming language or what?
  • 1
    @mirimmad only a math parser with some bits and pieces. might evolve in a language soonish..
  • 1
    @romangraef I'm writing one, in Java.
  • 1
    @mirimmad antlr or jflex?
  • 1
    @romangraef I am writing a parser myself. Not using any tool! 😁!
  • 0
    Good luck on that in Java.
  • 0
    @scholl3ss with antlr/jflex it is possible. but writing an own parser... whioo
  • 1
    @romangraef yup, I know that. I've written a programming language in c# with antlr.
    But all the typing, the lexer modes, auto generated visitors and listeners are for sure usefull and implementing them in plain Java? Meh.
    Why reinvent the wheel Instead of using a framework that's been around for more than 20 years..
  • 0
  • 0
    @scholl3ss I'm basically trying to implement things form scratch!
Add Comment