A repl in 5 lines of modal :maru: by @smlavine
https://git.sr.ht/~rabbits/modal/tree/master/item/examples/repl.modal
A repl in 5 lines of modal :maru: by @smlavine git: 'stsahstashsatshtata' is not a git command. See 'git --help'. The most similar command is
Show previous comments
Waiting for wood projects to dry, implemented the Sierpiลski triangle fractal in Modal. Realized after posting that I could have used an exploding lambda to initialize the memory. It's a bit prettier. I like this way of programming, it feels like ascii physics. The replacement steps shows my little cursor `>` moving across the cons cells until it collides with (), and then bounces back out of the list. It's like Orca, there's no hidden state, everything that relates to the evaluation has to be present in the source, pausing the evaluation at any moment yields a valid program. In 1978, Polandโs Krystyna Chojnowska-Liskiewicz became the first woman to sail around the world solo. In the two years that it took her to achieve this feat, she discovered some of the globeโs most beautiful gems, like Tahiti or the Canary Islands. @neauoire Thatโs a lovely old comms panel. A real boat anchor rig. That boat is quite the Sputnik setup too. @neauoire that's a banger, and unexpected. I've heard some of their earlier stuff, and really like it, too. This is quite different. Last share about Busy Doing Nothing. This is a photo that a very nice sailor named Warren took of us a day after we arrived back in Victoria. An expert system to harmonize chorals in the style of Bach.
Show previous comments
@eli_oat we were just talking about logic programming and how we didn't have projects to use it for. Music composition is actually a pretty interesting usage of it! I was working on a modal repl for doing livecoding composition from rules, and found this, I thought that might interest you. @neauoire generally skeptical of this stuff but I -have- always wanted a eurorack module or something built on chorale harmony rules that I could fiddle with the logic for live and that could live-follow inputs Good evening treepeople. May is almost here, that means that the little community that formed here among sailors, over the winter, is about to break up again for the summer, and reorganize itself in a different way next fall. We walk the docks and people are finishing up their repairs, trading things they no longer need, and gathering food and supplies for the next few months. Some vessels we might encounter up north again. @neauoire After nearly six months alongside Wreck, our berth neighbour, a large-ish, American-built Finnish cutter, slipped its berth and headed into the Channel to sail westwards towards Brest and the entrance to the Biscay. We will meet them there in a week or so to sail in company to Northern Spain. I regret to inform7 you ma'am but your son is dead. Your son is found in the Grey Hallway. The description of your son is "a poor soul who died in these hallowed halls." The son is wearing a backpack. The backpack is openable and closed. @suricrasia this post is a work of art. a work of art is a type of object If I organize a big Merveilles Seattle meetup in November, like the one in 2021, who's interested? :merveilles:
Show previous comments
@neauoire would love to be there to meet you all! :tealheart: but not likely Iโll be able to make it because Iโll be disappearing for a bit to usher in a new addition to our family around then. ๐ถ @neauoire Nodding along pretty interested but my mind exploded when it got to the **200 lines of ANSI C** part. What a beautiful program and language. Cracked tiller-head, we can't have a new one machined just yet, so.. we found a 5$ option.
[DATA EXPUNGED]
Fizzbuzz in #Modal, but first you have to invent the concept of numbers. |
@neauoire The beauty of the internal structure of a program being the same as the source lol
@neauoire @smlavine I think Paradise could be expressed in modal. Where the entire state of the world is expressed in a series of self modifying strings. Oh no.