Re:BASIC in C++
by blackhole on Saturday June 20, 2015 @06:01PM
(#9751177)
I can't decide if this is brilliant or terrifying.
[ Parent
| on HN ]
Re:BASIC in C++
by WalterBright on Saturday June 20, 2015 @07:26PM
(#9751408)
This is why D doesn't have AST macros, a preprocessor, and makes operator overloading difficult for any purpose other than arithmetic.
Programmers can (and do) still create DSLs in D by using string mixins and CTFE.
Re:BASIC in C++
by TazeTSchnitzel on Saturday June 20, 2015 @06:09PM
(#9751208)
Fairly mundane. You could do most of it in C89 with cpp.