[ prog / sol / mona ]

prog


Marvin Minsky - The Beauty of the Lisp Language

172 2020-10-12 18:22

>>171
Not really, dynamically adding '#define' would violate the C standard which explicitly forbids the below:
#define D #define
#define DEFMACRO(name,arg_tup,body...) #define name arg_tup body
e.g. DEFMACRO(macro1,(a,b,c), a+b+c)
Digital Mars C allowed it.
https://stackoverflow.com/questions/12447952/defining-define-macro

301


VIP:

do not edit these