cplusplus
cplusplus copied to clipboard
A compiler front end for the C++ language
If we change "specs/grammar.txt" to an EBNF understood by https://www.bottlecaps.de/rr/ui we can get a nice navigable railroad diagram representation of it that can help document/develop/debug this project grammar, follow the...
While testing cxx with https://github.com/PX4/eigen/tree/3.4 : ``` /* The Intel API is flexible enough that we must allow aliasing with other vector types, and their scalar components. */ typedef float...
While testing `cxx` with https://github.com/duneroadrunner/SaferCPlusPlus we I'm getting this errors (while g++-9.4 parse it fine): ``` cxx SaferCPlusPlus/examples/msetl_example/msetl_example.cpp -fsyntax-only -toolchain linux -ISaferCPlusPlus/examples/msetl_example/../../include SaferCPlusPlus/examples/msetl_example/../../include/msemsevector.h:1326:69: expected ')' gnii_vector(_Myt& _X) : base_class(CNoopOrReadLockedSrcRefHolder(_X).ref().contained_vector()) {...
…he main source file
Using the `Lua` script shown bellow to extract the code examples from https://en.cppreference.com/w/ I'm getting this results: ``` #cxx Total files scanned : 5629 Total files with code : 2889...
With this [issue](https://github.com/robertoraggi/cplusplus/issues/309) solved now I'm getting the error shown bellow (that is a reduced case of this https://github.com/robertoraggi/cplusplus/issues/309#issuecomment-1872235706). ``` void test() { int i; ( ({ long __cpu =...
To help debug I propose to add `-M` and `-MM` command line options, I already got an MVP partially working (it's missing extract the filename without path and extension to...
While testing `cxx` with https://c9x.me/qscm/data/qscm.c I found that `cxx` get lost with this extracted test (heavy on macros): ``` typedef long V; #define L(n) L_(n, E) #define A a_(E) #define...
:robot: I have created a release *beep* *boop* --- ## [1.1.28](https://github.com/robertoraggi/cplusplus/compare/v1.1.27...v1.1.28) (2023-11-04) ### Bug Fixes * Add -fstatic-assert to enable static_assert ([6cfa502](https://github.com/robertoraggi/cplusplus/commit/6cfa502e4cfc9e5e821a1e4b9dbdab078d05b449)) * Add AST node to represent alignas type...
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...