Git Stars Git Stars

#lexer Repositories

Discover 24 active open source GitHub repositories tagged with #lexer, accumulating 47,073 total stars (averaging 1,961 stars per project). Leading this topic is doctrine/lexer with 11,141 stars.

24
Total Repositories
47,073
Total Stars
1,961
Avg Stars/Repo
1
doctrine/lexer

Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.

doctrine
โญ 11,141 PHP ๐Ÿ‘ค doctrine Organization ๐Ÿ• Updated 2026-11-15 ๐Ÿ“… Created 2013-01-12
2
westes/flex

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

westes
โญ 4,060 C ๐Ÿ‘ค westes User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2013-11-19
3
alecthomas/participle

A parser library for Go

alecthomas
โญ 3,904 Go ๐Ÿ‘ค alecthomas User ๐Ÿ• Updated 2026-10-26 ๐Ÿ“… Created 2016-06-28
4
maciejhirsz/logos

Create ridiculously fast Lexers

maciejhirsz
โญ 3,593 Rust ๐Ÿ‘ค maciejhirsz User ๐Ÿ• Updated 2026-09-11 ๐Ÿ“… Created 2018-11-09
5
carthage-software/mago

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

carthage-software
โญ 3,564 Rust ๐Ÿ‘ค carthage-software Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2024-10-26
6
Chevrotain/chevrotain

Parser Building Toolkit for JavaScript

Chevrotain
โญ 2,820 TypeScript ๐Ÿ‘ค Chevrotain Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2015-04-15
7
ArthurSonzogni/Diagon

Interactive ASCII art diagram generators. :star2:

ArthurSonzogni
โญ 2,211 C++ ๐Ÿ‘ค ArthurSonzogni User ๐Ÿ• Updated 2025-05-16 ๐Ÿ“… Created 2018-01-22
8
csstree/csstree

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

csstree
โญ 2,130 JavaScript ๐Ÿ‘ค csstree Organization ๐Ÿ• Updated 2026-09-16 ๐Ÿ“… Created 2016-09-02
9
chipsalliance/verible

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

chipsalliance
โญ 1,979 C++ ๐Ÿ‘ค chipsalliance Organization ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2019-11-07
10
whitequark/parser

A Ruby parser.

whitequark
โญ 1,646 Yacc ๐Ÿ‘ค whitequark User ๐Ÿ• Updated 2026-11-19 ๐Ÿ“… Created 2013-03-30
11
ArashPartow/exprtk

C++ Mathematical Expression Parsing And Evaluation Library https://www.partow.net/programming/exprtk/index.html

ArashPartow
โญ 1,039 C++ ๐Ÿ‘ค ArashPartow User ๐Ÿ• Updated 2026-08-01 ๐Ÿ“… Created 2012-01-28
12
katef/libfsm

DFA regular expression library & friends

katef
โญ 986 C ๐Ÿ‘ค katef User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2017-01-31
13
no-context/moo

Optimised tokenizer/lexer generator! ๐Ÿ„ Uses /y for performance. Moo.

no-context
โญ 884 JavaScript ๐Ÿ‘ค no-context Organization ๐Ÿ• Updated 2026-02-27 ๐Ÿ“… Created 2017-03-10
14
dabeaz/sly

Sly Lex Yacc

dabeaz
โญ 861 Python ๐Ÿ‘ค dabeaz User ๐Ÿ• Updated 2024-06-05 ๐Ÿ“… Created 2016-09-02
15
wundergraph/graphql-go-tools

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

wundergraph
โญ 839 Go ๐Ÿ‘ค wundergraph Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2018-11-10
16
JetBrains/Grammar-Kit

Grammar files support & parser/PSI generation for IntelliJ IDEA

JetBrains
โญ 777 Java ๐Ÿ‘ค JetBrains Organization ๐Ÿ• Updated 2026-10-31 ๐Ÿ“… Created 2011-08-04
17
greenlion/PHP-SQL-Parser

A pure PHP SQL (non validating) parser w/ focus on MySQL dialect of SQL

greenlion
โญ 645 PHP ๐Ÿ‘ค greenlion User ๐Ÿ• Updated 2026-09-21 ๐Ÿ“… Created 2014-03-12
18
jflex-de/jflex

The fast scanner generator for Javaโ„ข with full Unicode support

jflex-de
โญ 637 Java ๐Ÿ‘ค jflex-de Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2015-02-15
19
Genivia/RE-flex

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.

Genivia
โญ 603 C++ ๐Ÿ‘ค Genivia Organization ๐Ÿ• Updated 2026-09-15 ๐Ÿ“… Created 2015-11-18
20
zakirullin/tiny-compiler

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

zakirullin
โญ 580 C ๐Ÿ‘ค zakirullin User ๐Ÿ• Updated 2025-05-11 ๐Ÿ“… Created 2017-04-12
21
softdevteam/grmtools

Rust grammar tool libraries and binaries

softdevteam
โญ 577 Rust ๐Ÿ‘ค softdevteam Organization ๐Ÿ• Updated 2026-11-17 ๐Ÿ“… Created 2018-08-06
22
glayzzle/php-parser

NodeJS PHP Parser - extract AST or tokens

glayzzle
โญ 564 JavaScript ๐Ÿ‘ค glayzzle Organization ๐Ÿ• Updated 2026-10-30 ๐Ÿ“… Created 2014-12-07
23
libconfuse/libconfuse

Small configuration file parser library for C.

libconfuse
โญ 524 C ๐Ÿ‘ค libconfuse Organization ๐Ÿ• Updated 2026-10-15 ๐Ÿ“… Created 2014-01-10
24
tdewolff/parse

Go parsers for web formats

tdewolff
โญ 512 Go ๐Ÿ‘ค tdewolff User ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2014-11-28

Frequently Asked Questions

1

What is the most popular #lexer repository on GitHub?

The top ranked open source #lexer project on GitHub is doctrine/lexer with 11,141 stars. Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.

2

Which programming languages are most used in #lexer repositories?

Among the top ranked #lexer projects on GitHub, the most common programming languages are C, C++, Go, Rust.

3

How is the #lexer repository ranking calculated?

We track 24 active open source repositories tagged with #lexer (500+ stars), totaling 47,073 stars with an average of 1,961 stars per repository. Rankings update daily from the GitHub API.