transform: reduce simple commands...WIP

This commit is contained in:
Jan Nieuwenhuizen 2018-11-17 20:08:17 +01:00
parent 992479b0a3
commit bdbc29e448
1 changed files with 3 additions and 0 deletions

View File

@ -258,6 +258,9 @@
(('command word ... ('io-redirect ('io-file "<" file-name)))
`(with-input-from-file ,file-name (command ,@word)))
(('command ('word (and (? string?) string)) ...)
`(command ,@string))
(('command ('if-clause if-clause ...))
(transform `(if-clause ,@if-clause)))
(('if-clause expr then)