Am wondering if there is any "successful" attempts to create a complete set of templates in C++, so, C++ can be used as a scripting language. In other words, get the results at compile time (computation, loop,...) without running the exe.
Think one can calculate recursive items through templates, but having a complete set of functionnality (for, while, and double calculation), I could not find it.
constexprgoes a long way if your goal is compile-time calculation with familiar code. Templates are Turing-complete, so things like loops can be done a different way. If you're actually after a REPL, I think it's Cling that does that.