mirror of
https://github.com/teo3300/rust-mal.git
synced 2026-01-13 09:35:32 +01:00
- removed dereferences - help function only provide info for the first symbol Signed-off-by: teo3300 <matteo.rogora@live.it>
16 lines
354 B
Plaintext
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)) |