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.
Finding profanity in code
Unified algorithms for different programming languages, necessary when porting code from one programming language to another.
traverse erlang ast
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.
Compiler (parsing, code gen, type cast/checking) for MeggyJava (including variable/function/class)
The language Basic taught in many schools as their first language of students, is now implemented in Urdu(ish).
Lexer, parser, and evaluator for Nix files, written in D-lang
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
Compilers' assignment of a programming language named UC using Lex, Yacc, LLVM and C.
RoboVM bindings generator
A Command Line tool reading JSON file by SQL
View a graph of your project
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
An untyped lambda calculus interpreter written in Scala
some code about ast demo
A Python implementation of the Feed Item Query Language with flexible bindings.
An ECMAScript Parser, according to the ESTree Spec
Composable/Configurable validation schema, inspired by yup/joi (with AST!)
iscan helps you identify your project's dependencies
Turn a shorthand CSS selector like HTML string into an HTML object.
Go regular expression engine
Implementing AST and Symbol Table for Smoola and producing errors
Simple BASIC compiler based on the old language dialects.
VSCode extension to preview the Python AST of the active file
Python's built-in libraries include powerful tools for retrieving and operating over abstract syntax trees. This article provides an overview of how t...
A JavaScript library for exploring programming languages
Find all JavaScript variables used in pug template
This is a parser that I created using ANTLR. This parses the translation unit file generated by GCC when using the -fdump-translation-unit flag.
⚡️ Headless (Bring your own UI) Drag and Drop Form Builder for React
A new language based on Monkey language
Pretty format plugin to print ASTs prettier
PYthon Grep: Python syntax-aware grep
This linter plugin for SublimeLinter provides an interface to solhint
Tool to read/write Gherkin feature files and to work with Gherkin-AST
A Read–Eval–Print Loop (REPL) and Better Bash Lang & Compiler written in C++
go+lua=gua (experimental programming language)
A plugin for SourceJS 0.6.x to display ES modules dependencies in a spec
javascript ast for xss jsonP
Meet Programming Language
Compute mathematical expressions via abstract syntax tree. Built with Java and ANTLR4.
A full blown compiler generator with a goal of a clear design and huge flexibility. It even gives you access to error handling and further analysis.
Parse Google Protocol Buffer DSL into an AST, which can be converted into JSON or back into the Protocol Buffer DSL.
C0语言的词法分析和抽象语法树(AST)分析器
matrix-calculator syntax parser