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.
Abstract Syntax Tree specification and JavaScript transformer for CSS creation.
Abstract Syntax Tree specification for the HTML language.
Implementazione di un offuscatore per Python
Rough implementation of checking of AST equality
This ist the lexer/parser/ast interpreter from my rosetta code contributions in a single jar
Dremio SQL(select) parser written with jison. Parse SQL into abstract syntax tree(AST) and stringify back to SQL. SQL grammar follows https://docs.dre...
An ast printer based on astring for meriyah's ast format
Abstract synatax tree interpreter.
Search and report about nodes in an abstract syntax tree - WIP
libSqlAst is a library to parse SQL statements or files to AST, then apply them for Intellisense/Beautify/Minify functions
BGU PPL Assignment 3 - More ASTs, normal order environment based evaluation
Explore Nunjucks templates AST
AST transformations as an example of compile-time metaprogramming in groovy.
Building AST(Abstract Syntax Tree) and JS Object from LRC file, and create LRC file from AST.
Drawing trees using F# and PostScript
Opinionated tokenizer and parser for common and custom languages
A command to remove feature flags from the code without manual intervention.
Strip function calls during builds from your Go code
Example on how parsing works
F# implementation of the Monkey programming language from the book "Writing an INTERPRETER in Go" by Thorsten Ball
verify an AST path with css-selector-like syntax in your babel plugin
append a non-enumerable property to an abstract syntax tree
Analysis of Codeforces submissions to determine country and proficiency of coder.
Slides from my talk of modern frontend tooling
Old article for the perl review magazine about Parse::Eyapp
Python library to perform source refactoring
Elixir AST sample repo
Swift AST tree dump parser written in Ruby
FBV discipline compiler's project
Python AST matcher.
LongBridge Plain Text format.
Simple codemod to fix your imports
acorn 源码学习
Interpreter for Mozart-Oz
A simple json parser
PHP serialize and unserialize for NodeJS (with useful error messages)
Following along with a tutorial on interpreters
👻 AST sketch.
Python refactoring helper
WebAssembly Binary AST Parser
Markdown AST injection utility
😁text parser for emoji
My first toy language. Created exclusively for learning purposes.
Compiler for Decaf
A compiler for a language called CAMLE similar to that of `While` from the Appel compiler book
an abstract AST for FP