JSCPP, a simple C++ interpreter written in JavaScript
github.com
github.com
Something like: any sufficiently complicated C program contains an ad-hoc, informally-specified, bug-ridden, slow implementation of half of C++'s features.
struct Bob {
int a;
};
int main() {
int a;
struct Bob x;
x.a = 3;
return 0;
}
So when they say "without object oriented features" they seem to mean: "No extendable type system". Which does make this a lot simpler of a language.From the Q&A section of the readme:
"Which notable features are not implemented yet?
> Object-oriented features"
"Which libraries are supported? > iostream (only cin and cout and endl)""Currently, it is mainly for educational uses for a MOOC course I am running (and fun)."
"Which features are implemented? (Most) operators"
edit: Templated functions don't work either.