Re:C++: Using Variadic Templates Cleanly
by nabla9 on Saturday October 24, 2015 @04:34PM
(#10444761)
It would be easier to just design better language that compiles into C++ and can use existing libraries than continue with C++.
[ Parent
| on HN ]
Ironically this is exactly how C++ itself started out: With a compiler that compiles C++ code into C.
Re:C++: Using Variadic Templates Cleanly
by pldrnt on Saturday October 24, 2015 @04:57PM
(#10444841)
Incidentally, this is exactly what I am working on, grammar and parser are mostly done (the grammar is _regular_ and programs can rewrite themselves starting from their AST, because I really want something like `go fmt` one day), doing the transpiler at the moment, it's... interesting to say the least.
(it will be foss of course but nothing is published yet)