LambdaCore
LambdaCore copied to clipboard
Research Macro System
Need to implement macros. Macros are just functions that have their arguments passed to them untouched rather than pre-evaluated.
Potential plan:
- ~Prevent the evaluation of
Arrayfrom evaluating arguments.~ - Implement a
Macrovariant forValue. - Implement an
evalbuilt-in function forMacrodesigners to evaluateArrays of code.
(defm setq '[key value] '[
(set 'key (eval value))
])
(setq name "Pebaz")
Related: https://software-lab.de/doc/tut.html#fun