File: README.md

package info (click to toggle)
node-lezer 1.5.3%2B~cs14.29.58-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,928 kB
  • sloc: javascript: 2,134; makefile: 15
file content (15 lines) | stat: -rw-r--r-- 560 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# @lezer/cpp

This is a C++ grammar for the
[Lezer](https://lezer.codemirror.net/) parser system.

The grammar used is based in a large part on the corresponding
[tree-sitter grammar](https://github.com/tree-sitter/tree-sitter-cpp).

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.