4 ms·
It would be impossible to remove the `lisp!` on every form, as you have to actually invoke the macro. You could make a build script that would read in lisp fil
by steveklabnik 9y ago
It would be impossible to remove the `lisp!` on every form, as you have to actually invoke the macro.
You could make a build script that would read in lisp files, and then run them through a pre-processor of sorts before compiling. That's the closest thing, and it'd still require setting up that build.rs.
- kazinator 9y ago> You could make a build script that would read in lisp files, and then run them through a pre-processor of sorts before compiling. At that point, you would be better off using a Lisp implementation and its expander over a bunch of Lisp to Rust macros.
- steveklabnik 9y agoSure. I don't suggest that this is a good idea, just that it'd be possible this way.