Socket
Socket
Sign inDemoInstall

@lezer/cpp

Package Overview
Dependencies
3
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @lezer/cpp

lezer-based C++ grammar


Version published
Weekly downloads
116K
decreased by-4.96%
Maintainers
1
Install size
919 kB
Created
Weekly downloads
 

Changelog

Source

1.1.2 (2023-12-28)

Bug fixes

Tag comments and strings as isolating for the purpose of bidirectional text.

Readme

Source

@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.

FAQs

Last updated on 28 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc