4 ms·
For starters, if you didn't notice, Stleem is pronounced the same as Streem in Japanese, but keeps the l from lisp. Punny. informal translation~~~ Matz creat
by bntyhntr 12y ago
For starters, if you didn't notice, Stleem is pronounced the same as Streem in Japanese, but keeps the l from lisp. Punny.
informal translation~~~
Matz created this thing...
It inspired mattn to create this thing in go.
And little 'ol me thought "I want to try this in lisp" so here it is.
----boring stuff----
Stleem is a thing where you stick one thing in and get one thing out.
In order to create the result, stleem uses something like a filter (see how fizzbuzz filters to print the result)
If (there's no arg/the arg is ignored??) it has generator-like behavior.
When the pipeline is closed, if there's no result, nil is returned.
Otherwise the start up parameter :end-symbol is modified.
Keep in mind that this is only a sample.
How to handle multiple args and discarding things, etc, etc, there's a lot of problems.
~~~end
I don't know lisp and I used rikaichan a lot but I'm pretty sure I got it mostly right.
- hrktb 12y agoJust to make it clear, the author discloses that beyond the sample it doesn't work, and there's lots of problems he doesn't tackle. Also, from the tone of it, one should have no expectation of this going further. It seems mostly aimed to be a test of how it would look like in lisp and nothing more.