Preskoči na glavno vsebino

Objave

Prikaz objav, dodanih na februar, 2023

Chat-like interface for the terminal in Rye

Rye is at this point focused on becoming a useful tool for use in Linux shell (the server/back-end tasks). So I integrate it with the libraries that make sense there and I also like to improve the whole terminal capability of Rye.   I got some idea (one of many of this kind, we will see how this one goes :P) that I could make a set of interactive tasks, that could teach my two kids (and others potentially) about how the computer works, and how you can work with a computer through Linux shell. For this I would need some sort of interactive terminal based user interface, I imagined something chat like. See how the "game" looks in action with asciinema . Above is a small demo of the idea after a day of work on it. It's in form o a very very small text based adventure game :). To make this work I needed to create basically 2 functions, chat (and chat-lines for now) and choice. I wanted to use short, context specific words to do all this so I created it inside a chat-tui co...

Ryelang Reddit group and Ryelang org domain, focus ...

Reddit After a motivating email by my unofficial handler :) (@otobrglez), I decided to move Rye up another step again. In the past, he also pushed me to put Rye on github , make it more orderly and presentable, able to run on docker, and other such bad things :). A reddit group was created /r/ryelang . You are welcome to check it out, join, like and comment on things: reddit.com/r/ryelang/ To kick things off, I've re-posted few more interesting examples from this blog there (with new accompanying text, mind you). And I've also created few original posts that might be of interest to you: Rye basics: a gentle introduction trough Python examples #1 Rye basics: a gentle introduction trough Python examples #2 Rye basics: a gentle introduction trough Python examples #3 Domain I also bought the domain, which will be the main hub around Rye language: ryelang.org There is not much there yet, just a few lines of Rye that run the webserver. I've never yet tested Rye on a long run...