Earlier quoted context omitted.
As far as I can tell, it looks like a wrapper for cc1plus (internal GCC tool) and ld that do a custom #define of some input data, compile, extract some data from the binary, and do... something with it. Makes it look like C++ is an interpreted language.
Implementations are orthogonal to languages, there have been C and C++ interpreters since the languages exist, as you can see by looking at BYTE and Dr Dobbs archives looking for compiler developer tools ads.
Based C++
11–20 of 40 posts
Re: Based C++
#12So confused what this is...
Re: Based C++
#13Earlier quoted context omitted.
Implementations are orthogonal to languages, there have been C and C++ interpreters since the languages exist, as you can see by looking at BYTE and Dr Dobbs archives looking for compiler developer tools ads.
But some are more suited then others. For example, I believe the C standard to not describe what is supposed to happen when the definition of a function changes.
Two scenarios where the definition of a function in C changes, are dynamic libraries on OSes that allow reloading the same library multiple times, or self-rewriting code.
Here you stay within the realms of a compiled language implementation, where what happens, is only expecified by compiler specific features, or OS capabilities handling executables and dynamic libraries.
Re: Based C++
#14But if you just want to run C++ in a REPL, you can use Clang-Repl https://clang.llvm.org/docs/ClangRepl.html> which uses the LLVM JIT to "interpret" C++.
Re: Based C++
#15Re: Based C++
#16Based? Based on what?
Here, probably used ironically.
Re: Based C++
#17Also read up on sheafification really quick. Neither Firefox nor Chrome seem aware of it (red underline), so there.
Edit: If anyone is actually interested in interpreted C++, I think AngelScript is the most practical way for this.
Re: Based C++
#18So confused what this is...
You'll need this https://www.youtube.com/watch?v=cFtymODJEjs
Also the music is way is too loud and sudden.