Search
2 results for “svetlyak40wt”
-
I've already did a "lisp project of the day" post about cl-cont (https://40ants.com/lisp-project-of-the-day/2020/10/0202-cl-cont.html), but today I've decided to create a more realistic example of usage.
Let's imagine we want to create a dialogue system which on each step returns a callable. User should call the function and give it the response.
Here is how a simple dialogue will look like without continuations...
-
I just found a very interesting #CommonLisp project which shows how to extend the LOOP macro: https://github.com/Gleefre/loop-continue
It was added to Ultralisp.org recently.
This code should work on #SBCL, #CLASP, #ALLEGRO, #ABCL and #ECL implementations.