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
3865
2 个月前
maciejhirsz/logos

Create ridiculously fast Lexers

Rust
3283
2 天前
TypeScript
2682
2 天前

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

JavaScript
2044
5 个月前

Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.

Rust
1802
17 小时前
chipsalliance/verible

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

C++
1649
1 个月前

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

JavaScript
866
2 年前

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

Go
784
3 天前

Grammar files support & parser/PSI generation for IntelliJ IDEA

Java
755
3 天前

The fast scanner generator for Java™ with full Unicode support

Java
616
9 个月前

A tiny compiler for a language featuring LL(2) grammar. 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
577
5 个月前

Yet another high-performance C++ regex library and lexical analyzer generator like Flex: 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++
570
4 个月前

Rust grammar tool libraries and binaries

Rust
559
20 天前

🌿 NodeJS PHP Parser - extract AST or tokens

JavaScript
552
3 个月前

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

Go
532
5 年前

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

TypeScript
482
2 年前