Commit graph

11 commits

Author SHA1 Message Date
Linus
bd2a69a16c Readme change. Beta quality! 2020-12-16 20:19:43 +01:00
Linus
317b3e732b Fix markdown in README.md to not show like HTML. 2020-12-16 19:59:03 +01:00
Linus
2d35c9d6cf Polishing the README and iterator protocol.
* README.md: added some small documentation and loop expansion.
 * goof.scm: Changed the iterator protocol to not use unnecessary :acc and :fors.
 * iterators.scm: see above.
 * ref-let.scm: a new macro to allow multiple values and pattern matching to co-exist for body-bindings.
2020-12-16 19:54:55 +01:00
Linus
0c110dd080 Big, buggy commit
:for clauses now have finalizers! This means (in-file "path") now works. This meant I had to do some restructuring of many nasty pieces of code, but I believe it works. cl-next was broken up into cl-next/acc and cl-next/for. Accumulators have to pass :acc to (cl-next/acc ...). I plan for :for clauses to do the same.

I fixed tests.scm and README.md to reflect the de-racketification of the for loops.
2020-11-25 20:40:48 +01:00
Linus
30b73286b3 Forgot some updates in the readme to accompany previous commit. 2020-11-09 13:44:55 +01:00
Linus
a3244a065a Update readme to reflect recent changes.wq 2020-11-09 13:35:43 +01:00
Linus
be9ac1a55d Intermediate loops
goof.scm
  * Changed cl-next to properly push all intermediate loops
  * Changed emit-many/rest to emit intermediate loops
  * Added loop/list as a shorthand for just accumulating lists.

tests.scm
  * Collected some things I wanted ta have to track regressions.

README.md
  * Reflect above changes
2020-11-04 23:15:32 +01:00
Linus
f2496604d5 Fixed named update and a bug in accumulating
* goof.scm: Removed positional updates and fixed named updates
 * iterators.scm: Fixed bug in accumulating where only lists were supported.
2020-11-04 11:58:58 +01:00
Linus
b3efccb4aa Clarified readme regarding named update. 2020-11-02 22:20:52 +01:00
Linus
dd86fc8a0b Added a LICENCE file and fixed a small readme error. 2020-11-02 22:17:48 +01:00
Linus
ef96da9658 First commit 2020-11-02 22:11:45 +01:00