Files
rust-mal/test.mal
teo3300 3c5b03a2a8 Cleaned code
- removed dereferences
- help function only provide info for the first symbol

Signed-off-by: teo3300 <matteo.rogora@live.it>
2023-11-15 17:42:23 +09:00

16 lines
354 B
Plaintext

(def! func ; ole
(fn* (a b c) ; this is all a bunch
"This function does nothing useful"
; of useless comments
(def! d (+ a b)) ; to check if the parser
(- c d))) ; is able to ignore them
(test 1 2 14) (help +)
(help -)(func 1 2 3)
(help test)
(help func)
(help 1)
; I even implemented return statement
(exit (func 1 2 3))