Repository navigation

#

Parsing

维基百科

相关主题

ANTLRLR parser

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.

The Fast Lexical Analyzer - scanner generator for lexing in C and C++

C
3768
19 天前
maciejhirsz/logos

Create ridiculously fast Lexers

Rust
3119
5 天前
TypeScript
2600
3 天前

A tool set for CSS including fast detailed parser, walker, generator and lexer based on W3C specs and browser implementations

JavaScript
1982
12 天前
chipsalliance/verible

Verible is a suite of SystemVerilog developer tools, including a parser, style-linter, formatter and language server

C++
1525
3 天前

Optimised tokenizer/lexer generator! 🐄 Uses /y for performance. Moo.

JavaScript
848
2 年前

GraphQL Router / API Gateway framework written in Golang, focussing on correctness, extensibility, and high-performance. Supports Federation v1 & v2, Subscriptions & more.

Go
735
2 天前

Grammar files support & parser/PSI generation for IntelliJ IDEA

Java
735
3 个月前

The fast scanner generator for Java™ with full Unicode support

Java
603
4 个月前

A tiny compiler for a language featuring LL(2) with Lexer, Parser, ASM-like codegen and VM. Complex enough to give you a flavour of how the "real" thing works whilst not being a mere toy example

C
567
2 年前

A high-performance C++ regex library and lexical analyzer generator with Unicode support. Extends Flex++ with Unicode support, indent/dedent anchors, lazy quantifiers, functions for lex and syntax error reporting and more. Seamlessly integrates with Bison and other parsers.

C++
554
21 天前

🌿 NodeJS PHP Parser - extract AST or tokens

JavaScript
542
2 天前

Rust grammar tool libraries and binaries

Rust
540
5 天前

minigo🐥is a small Go compiler made from scratch. It can compile itself.

Go
530
4 年前

Light and fast 🚀parser! With zero dependents. - Sql Parser Demo added!

TypeScript
480
1 年前

Go parsers for web formats

Go
438
8 天前