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
Array
from evaluating arguments.~ - Implement a
Macro
variant forValue
. - Implement an
eval
built-in function forMacro
designers to evaluateArray
s of code.
(defm setq '[key value] '[
(set 'key (eval value))
])
(setq name "Pebaz")
Related: https://software-lab.de/doc/tut.html#fun