Roberto Raggi
Roberto Raggi
Hi @JakeSays, Thanks for showing interest in this project. I'm afraid the C++20 frontend is not ready for writing such tools. I recently started to work on the type checker...
Yeah, modern C++ is considerably different than the versions of C++ I implemented in the past so I thought it was easier to start from scratch. You can find the...
@asmwarrior yes, the preprocessor is almost complete but I still need to add APIs to abstract the file system access and configure the predefined macros and the system include paths.
Yes, these are the compound literals. It’s gcc extension for c++, i believe you already reported it here https://github.com/robertoraggi/cplusplus/issues/306
> Doing more tests I came with this one: > That `cxx` parses without showing any error: > semantic errors are protected by the cli option -fcheck. But i just...
> Ok `g++` and `clang` does semantic analyzes even with `-fsyntax-only` and `cxx` only does syntaic analyzes always, my bad. -fsyntax-only is a nop at the moment
Thanks for this PR. I think this breaks the WASI build. The problem is that the filesystem API is not available in the WASI SDK, mostly due to limitations of...
> Can it be surrounded in preprocessor macros to be available only for other targets ? yes of course, you can test for `CXX_NO_FILESYSTEM`, I can add some code to...
This looks very helpful, thanks for sharing. I will have a look at the failures, do you have a repo for this?
Thanks for your suggestion but I'm not sure it is a good idea to diverge too much from the official C++ grammar, the C++ language is still evolving. In the...