Starting code of the first challenge in the Let's Build a Programming Language series.
-
Updated
Sep 30, 2017 - JavaScript
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.
Starting code of the first challenge in the Let's Build a Programming Language series.
A lexical analyzer based on DFA that is built using JS and supports multi-language extensions / 一个基于DFA的支持多语言扩展的JS版开源词法分析器
Gain insights on individual twitter accounts using lexical analysis.
General-purpose recursive descent parser and evaluator
Parse any text input to tokens, according to provided regular expressions.
The Letter programming language from "Building a Parser from scratch" by Dmitry Soshnikov
A simple interpreter for a large subset of Pascal language written for educational purposes
An assignment on simple lexical analysis of compiling techniques for c# using JavaScript.
template for lab egg-parser for the subject "Procesadores de Lenguajes" at ULL
An intro to compilers: Simple examples
Evil programming language focus on hack
Lexical analyzer for Javascript developers
Compiler implementation in node.js, just for teaching and learning purpose
Simple, but extensible lexical scanner. Inspired by, but distinct from, Ruby's StringScanner.
Trabalho de Analisador Léxico e Sintático para a matéria de Compiladores do curso de Engenharia da Computação.