News for hackers. Stuff that matters.
Re:Making a Mini-Lisp: Introduction to Transpilers in JavaSc... by meric on Thursday December 24, 2015 @06:20PM (#10789899)
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.
Re:Making a Mini-Lisp: Introduction to Transpilers in JavaSc... by 0_00_0 on Thursday December 24, 2015 @07:24PM (#10789997)
Eval? Code as as string, parse, analyze, etc. Then code gen the JS you need into a string. Eval the string.