Skip to content

lezer-parser/cpp

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@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

License

Stars

Watchers

Forks

Packages

No packages published