the conference was very nice and High quality deliveries.
One of the activities of the conference was a programming poetry challenge.
Given that lately I've been doing some factor, and the huge
flexibility of it, I decided that this would be a competitive
advantage. And it certainly is. Basically because it uses no syntax
at all, you can just type a text, and make this text do nothing.
And the trick is to rewrite no-word to a nop. In the end I didn't
make it into the poetry contest (the price was a jetbrains license anyway).
Here's the code. Lovely.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IN: parser : no-word ( -- ) ; IN: scratchpad : and ( here it -- goes now ) ; | |
Roses are red, | |
violets are blue, | |
polyconf is great, | |
and the wifi too. :-) | |
! Raimon Grau. raimonster@gmail.com .github.com/kidd |
No hay comentarios:
Publicar un comentario