scheme
dz / schemeSummary
things related to scheme
Subgraphs
Node Tree
Nodes
stak | |
content | The miniature, embeddable R7RS Scheme implementation in Rust |
hyperlink | https://github.com/raviqqe/stak |
tags | rust, scheme |
location | knowledge/scheme.dz:4 |
2025-01-08 10:55 Got caught up in an idea I was reading about scheme again today while learning about stak and it got me thinking again about the act of writing LISP code. LISP code is written in a text editor, and while it is technically text, I don't find it to be actually a text-based structure. Editors like emacs simply add enough tooling on top of a text editor to make in a reasonable editing experience. You really need a specialized editor to write LISP code. You couldn't say, write LISP code in ed. --- LISP is not a "text editor friendly" language, but other languages are. Forth, TCL, APL come to mind. Pretty much any generic text editor will allow one to comfortably write code here. They make use of line breaks, it can be readable without indentation structure, etc. --- This idea, "edexp", has me thinking about ways to write s-expressions in a more text editor friendly way. Basically, you describe the tree line-by-line, with one element per line. A line consists of an action, and the element. Basic actions can be: append to current tree, create new tree with item and go one level deep, or go up one level and insert new item. --- More actions can be syntactic sugar, such as adding more than one item on a line, or making going up/down levels in multiple levels. ---