[ prog / sol / mona ]

prog


Marvin Minsky - The Beauty of the Lisp Language

300 2020-10-14 17:54

>>297
First, no one will be extending GCC without obvious benefit,
its likely they would instead run a script on C/C++ file for one specific case before inventing 'reader macros'.
I guess the approach to do this would be something like:
JSON object1 = parseJson( { "complex": 5, "object": [6, 7, 8] })
char *string = "this is a regular string";
sprintf(newstring,stringify([
1, 2, 3, object1, [[%s], 10]
]),string)
JSON object2 = parseJson(newstring)

301


VIP:

do not edit these