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 for Value.
- Implement an
eval built-in function for Macro designers to evaluate Arrays of code.
(defm setq '[key value] '[
(set 'key (eval value))
])
(setq name "Pebaz")
Related: https://software-lab.de/doc/tut.html#fun
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 ofArrayfrom evaluating arguments.Macrovariant forValue.evalbuilt-in function forMacrodesigners to evaluateArrays of code.Related: https://software-lab.de/doc/tut.html#fun