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.
A better way to view a compact JS abstract syntax tree
A simple interpreter
The simplest abstract syntax tree walker, similar with @Babel plugin.
Get the objective-c call-hierarchy information of an Xcode project using libClang
Reinventing the wheel, building angular.js from scratch
:dog: If there are no dogs in Heaven, then when I die I want to go where they went.
A YAML parser that produces output compatible with ESLint
Compiler (parsing, code gen, type cast/checking) for MeggyJava (including variable/function/class)
Plugin that adds a `.captureSet()` method to snapdragon, for matching and capturing substrings that have an `open` and `close`, like braces, brackets,...
Logging code automation solution
Friendly simple calculator
Clang AST Matchers bindings for 8.x release
Scala library for building ETL pipelines in functional way.
The LightScript Compiler & Embed in Java RT environment
some code about ast demo
An ECMAScript Parser, according to the ESTree Spec
adapting Java AST mining tools to Python
iscan helps you identify your project's dependencies
Goldmark extension that renders and formats markdown files
Implementing AST and Symbol Table for Smoola and producing errors
Simple BASIC compiler based on the old language dialects.
A toy parser for ECMAScript.
Python's built-in libraries include powerful tools for retrieving and operating over abstract syntax trees. This article provides an overview of how t...
Demucast is a hybrid model for salving music genre classification problem.
Pydocspec is a object specification for representing API documentation of a collection of related python modules.
CLI tool to export data from CxSAST and import into Checkmarx Application Security Testing Platform
PHP-Parser is a PHP parser written in PHP, designed to make it easy to analyze and manipulate PHP code. It supports PHP versions 5.2 to 8.1 and can be...
⚡️ Headless (Bring your own UI) Drag and Drop Form Builder for React
Reaction rates and transport properties
Pretty format plugin to print ASTs prettier
This linter plugin for SublimeLinter provides an interface to solhint
A JavaScript bundler that makes modern code run inside a browser.
go+lua=gua (experimental programming language)
javascript ast for xss jsonP
A compiler construction step by step
Codemod for JavaScript Stuff (Jasat is shortname)
The Chip Programming Language
Compute mathematical expressions via abstract syntax tree. Built with Java and ANTLR4.
A simple expression compiler, without libraries, written entirely in C#
AST Viewer for Dart language.
Democritus functions for working with Python ASTs.
Transform a CSL list or object to a [jast][jast] node.
java file tokenized diff based on myers algorithm.
Embeddable scripting language for C#. WIP. Goals: async/await, il bytecode, safe by default, performance.
A simple imperative language primarily targeting low-performance microprocessors
Agnostic and extensible transpiler for ASTs
C0语言的词法分析和抽象语法树(AST)分析器
Work from my compilers class, in which we implemented an AST, a few optimizations, and linear scan register allocation for a subset of the C language.
A simple parser for doxygen docs