6 ms·
Lisp user here. This reminded me of https://github.com/kingcons/cl-6502 https://github.com/kingcons/cl-6502 where the opcodes are defined using a defasm macro
by ilurkedhere 11y ago
Lisp user here.
This reminded me of https://github.com/kingcons/cl-6502 https://github.com/kingcons/cl-6502 where the opcodes are defined using a defasm macro https://github.com/kingcons/cl-6502/blob/master/src/cpu.lisp#L183 https://github.com/kingcons/cl-6502/blob/master/src/cpu.lisp... and implemented here https://github.com/kingcons/cl-6502/blob/master/src/opcodes.lisp https://github.com/kingcons/cl-6502/blob/master/src/opcodes....
Are Lisp macros pretty much on par with Rust macros?
- FreeFull 11y agoI was under the impression Lisp macros are more powerful/flexible than Rust's macro_rules! macros, although I don't know enough about Lisp macros to be sure.