Skip to content
#

ast

A grammar describes the syntax of a programming language, and might be defined in Backus-Naur form (BNF). A lexer performs lexical analysis, turning text into tokens. A parser takes tokens and builds a data structure like an abstract syntax tree (AST). The parser is concerned with context: does the sequence of tokens fit the grammar? A compiler is a combined lexer and parser, built for a specific grammar.

Here are 959 public repositories matching this topic...

Spoon is a metaprogramming library to analyze and transform Java source code (incl Java 9, 10, 11, 12, 13, 14). 🥄 is made with ❤️, 🍻 and . It parses source files to build a well-designed AST with powerful analysis and transformation API.

  • Updated Jul 25, 2020
  • Java
You can’t perform that action at this time.