Preskoči na glavno vsebino

Objave

Prikaz objav, dodanih na januar, 2021

Added intro pages for HOF-s, validation dialect and curry

 I wrote 2 new pages for the language introduction . I added page for higher-order-functions , validation dialect and a chapter on currying :     Links: github repo

Experimenting with code flow via GTK example

Piping and translating data from one point to the other is all fine and dandy, but I wanted to test solving messier and more statefull problems using Rye constructs. One example of such code are GUI-s. I tried to write a simple GTK example in multiple ways, to see where it gets me. Rye GTK binding uses generic functions. set-title, set-text, add-to ..., show are all words that dispatch on the kind of first argument and not ordinary "global" words. First (top left) example uses an ordinary polish notation and "variables". It's very similar to something you could write in plain Rebol or some other function based language (otherwise, rebol has a well "known" GUI dialect) Second (bottom left) uses variables and a lot of op-words. Words that take first argument from the left. This makes the structure look somewhat like it would look in a classical object oriented language. Like Python if you would add few parenthesis to the right spots. Third relies less on...

A new tour in progress

I am trying to write a new tour, to the language ... it's still very much work in progress. You can find it here .