make echo builtin
This commit is contained in:
parent
fb6a7d0279
commit
fc8b856110
|
@ -148,6 +148,7 @@ copyleft.
|
||||||
;;(format (current-error-port) "builtin: ~s\n" ast)
|
;;(format (current-error-port) "builtin: ~s\n" ast)
|
||||||
(match ast
|
(match ast
|
||||||
(('append ('glob "cd") arg) `(apply chdir ,arg))
|
(('append ('glob "cd") arg) `(apply chdir ,arg))
|
||||||
|
(('append ('glob "echo") args ...) `(apply stdout ,@args))
|
||||||
(('for-each rest ...) ast)
|
(('for-each rest ...) ast)
|
||||||
(('if rest ...) ast)
|
(('if rest ...) ast)
|
||||||
(_ #f)))
|
(_ #f)))
|
||||||
|
|
Loading…
Reference in New Issue