6 ms·
I think it's fine to call it a compiler if it compiles a language to another of a lower level of abstraction, which may be true with compiling lisp to javascrip
by meric 11y ago
I think it's fine to call it a compiler if it compiles a language to another of a lower level of abstraction, which may be true with compiling lisp to javascript, depending on if macros and read macros were implemented. There's just no way a programmer can manipulate the reader in javascript.
- 0_00_0 11y agoEval? Code as as string, parse, analyze, etc. Then code gen the JS you need into a string. Eval the string.