Commit graph

5 commits

Author SHA1 Message Date
Linus
7b3814c430 More parentheses
I have changed my mind about the clause forms. They should, with the
exception of :subloop, be parethesised: :when test => (:when test).
2021-02-18 21:19:12 +01:00
Linus
a545c1cbd7 Fix a bug where simple loops did not bind let bindings correctly
add check whether a loop clause exists to avoid the ultra-shit errors that happen if you
accidentally write (up-form ...)
2021-02-09 22:02:40 +01:00
Linus
d48ed19e43 Fix the previous commit. Now also the simple loops are ensured to execute once if no for-clauses are given.
Instead of throwing a syntax-error...
2021-01-28 20:37:05 +01:00
Linus
685fe86f36 Loops without any clauses now run the body at least once.
Small updates to readme.
2021-01-28 20:18:15 +01:00
Linus
06a11fc892 Modularized the code
Everything in goof-impl.scm is portable (r7rs) syntax-rules. The non-portable parts
, most notably the let-kw-form macro is in the module definition goof.scm.
2021-01-28 20:01:24 +01:00