Daniel · @semperos
72 followers · 26 posts · Server fosstodon.org

In Feb–Mar of 2020, I built a another toy in called "As if":

gitlab.com/semperos/asif

This was for a presentation on Clojure transducers, not for a serious implementation 🙈

I implemented it as a single call to clojure.core/transduce with the language's lex, parse, and optimize phases as transducers and its eval as a reducing function.

#StackBased #concatenative #programming #language #clojure #projects

Last updated 2 years ago

Daniel · @semperos
72 followers · 26 posts · Server fosstodon.org

Hopping on the 🚋

In April 2021 I wrote a toy
called Shackle: gitlab.com/semperos/shackle

• Entirely in a single file, with form for evaluating.
• Literals treated as , pushed onto the stack.
• Symbols looked up in the word dictionary, which is empty to start.
• If a word is not understood, you're prompted to define it.
• Stores the stack and word dictionary in the URL params, so your impl is captured entirely in the URL.

#projects #StackBased #concatenative #programming #language #html #json

Last updated 2 years ago