langcc
langcc copied to clipboard
langcc: A Next-Generation Compiler Compiler
I am experimenting a bit with langcc to generate a Smalltalk parser from one of its BNFs. However, I encounter an "Invalid token" problem with some characters, e.g. % <...
People using Rust to create their compilers would appreciate this tool generating sources files in the Rust language, instead of C++.
Would be nice to automatically generate some tests with a quickcheck implementation such as https://github.com/emil-e/rapidcheck One could generate some AST, print it, parse the source code and check if the...
Would be cool to generate some syntax highlighting files for web * https://highlightjs.org/ * https://prismjs.com/ Probably needs https://github.com/jzimmerman/langcc/issues/9 first to identify what is what
Would be cool if the grammar supported semantic labels, there is quite a few things you can do with that. Such as https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#textDocument_semanticTokens Additionally labels for entry/exit and open/closed for...
It would be great if `langcc` provides generate-only mode.
Hello ! When I build this project that takes a while because of everything `inline` and the use of `sha256` it generates huge binaries and when I try to test...
Your implementation of langcc is elegant and beautifully crafted. However, from a security perspective, there's a command injection vulnerability [CWE-78](https://cwe.mitre.org/data/definitions/78.html) in how langcc handles command-line arguments. In the [source code](https://github.com/jzimmerman/langcc/blob/main/src/langcc.cpp#L253),...