Home > Net >  How do I got about making a programming language parser
How do I got about making a programming language parser

Time:02-10

I am trying to make programming language in Java and need to create a parser, I have made a Lexer and that works pretty well but I just can't seem to understand how to parse the tokens! I would like to not use any generators like ANTLR as I prefer to make things myself but if someone could please point me in the correct direction of how a parser actually processes information and builds an AST?

P.S. The reason I haven't added any of the languages syntax is because I want that to be customisable!

CodePudding user response:

  •  Tags:  
  • Related