lexer
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 94 public repositories matching this topic...
Optimised tokenizer/lexer generator! 🐄 Uses /y for performance. Moo.
-
Updated
May 16, 2023 - JavaScript
🌿 NodeJS PHP Parser - extract AST or tokens
-
Updated
Dec 31, 2024 - JavaScript
A lexical analyzer based on DFA that is built using JS and supports multi-language extensions / 一个基于DFA的支持多语言扩展的JS版开源词法分析器
-
Updated
Mar 19, 2023 - JavaScript
Collection of developer toolkits
-
Updated
May 25, 2018 - JavaScript
BaseScript is a programming language, which aims to compile your code to JavaScript.
-
Updated
Jul 31, 2024 - JavaScript
A simple interpreter for a large subset of Pascal language written for educational purposes
-
Updated
Aug 7, 2024 - JavaScript
Converts a string into an array of tokens, with useful methods for looking ahead and behind, capturing, matching, et cetera.
-
Updated
Nov 19, 2018 - JavaScript
🌋 A modular programming language lexer and parser, written in JavaScript
-
Updated
Nov 20, 2017 - JavaScript
Transform Ideas into Executable Brilliance.
-
Updated
May 23, 2023 - JavaScript
Simple JavaScript-based math evaluator
-
Updated
Mar 3, 2018 - JavaScript
Lexical analyzer for Javascript developers
-
Updated
Jun 10, 2018 - JavaScript
A very lightweight Markdown Parser ✨
-
Updated
Nov 20, 2024 - JavaScript
- Followers
- 10.7k followers
- Wikipedia
- Wikipedia