Preskoči na glavno vsebino

Objave

Prikaz objav, dodanih na september, 2022

Rebol: making simple dialect using parse (dialect)

The Podcast I was recently a guest on a developer oriented podcast Ogrodje . It's in Slovene language . It was great fun to meet two fellow developers and talk about tech and business. The second part of the podcast was about Rye . Because Rye is based on Rebol and because my projects are in big part made with Rebol, there was a lot of talk about Rebol too. If you understand Slovene, you can listen to this and other episodes here:  https://anchor.fm/ogrodje The Rebol But it's hard to explain or even give a basic feeling about a language, if you can't show the code. Example tells a thousand words - to a programmer. I tried to explain that Rebol is not just a little different Python, Ruby, JavaScript, but a small set of uniform ideas (that have more in common with scheme, forth, logo) and that "we" are still exploring how all we could use, to solve our problems (not my quote, can't find the original - it was cooler). I found the one from Douglas Crockford , t

Full text search integration - Bleve #2

I continue to integrate Bleve search into Rye. This is a small demo that shows new Bleve functionality and also few interesting features of Rye. Like functions *fix* *private* and *enter-console".  With enter-console you can enter a rye console at any point, to debug, explore or just use it as an interface. Since it's an ordinary function, you can call it inside other functions, callbacks, etc ... Function *private* creates a sub-context (*private\* creates one with a docstring) executes code inside it and returns the result. It can be useful for code organization and better separation of concerns.   Anyhow ... follow us on github .   BTW: Rye and Rebol functions have fixed arity. A function with \ at the end is a convention for the same function without \ AND more. There is 'private { }' and 'private\ "doc" { }', there is "ls" and 'ls\ "prin"' for example.