top | item 37021081 (no title) amboo7 | 2 years ago You can wrap a code generator by a macro. discuss order hn newest deterministic|2 years ago Why would you want to do that? That would be adding unnecessary compile time overhead. And (again) code generation works for any language/framework/OS/… Not just for Lisp. amboo7|2 years ago You can handle any language with a read-time parser, then work with ASTs, pretty-print the result in another language. In between, it's just Lisp. load replies (1)
deterministic|2 years ago Why would you want to do that? That would be adding unnecessary compile time overhead. And (again) code generation works for any language/framework/OS/… Not just for Lisp. amboo7|2 years ago You can handle any language with a read-time parser, then work with ASTs, pretty-print the result in another language. In between, it's just Lisp. load replies (1)
amboo7|2 years ago You can handle any language with a read-time parser, then work with ASTs, pretty-print the result in another language. In between, it's just Lisp. load replies (1)
deterministic|2 years ago
amboo7|2 years ago