Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
lezer-parserPublic archive

About

C++ grammar for the Lezer parser system

Resources

Stars

23 stars

Watchers

3 watching

Forks

Latest commit

 

History

85 Commits

Folders and files

Repository files navigation

This repository has moved to https://code.haverbeke.berlin/lezer/cpp

@lezer/cpp

This is a C++ grammar for the Lezer parser system.

The grammar used is based in a large part on the corresponding tree-sitter grammar.

It should be noted that really parsing C++ without a symbol table and a preprocessor is not really something that is possible. The language is very, very ambiguous when parsed like that. This grammar tries to pick a likely parse, but is entirely capable of picking the wrong one.

The code is licensed under an MIT license.

About

C++ grammar for the Lezer parser system

Resources

Stars

23 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages