Hacker News
Tree Calculus
layer8
|next
[-]
It’s completely unclear to me what this means. The literal meaning is obviously wrong, because attaching a tree to a root that already has two child nodes would result in a ternary node, but apparently all trees in tree calculus are binary.
BoiledCabbage
|root
|parent
[-]
But what I believe was meant by the above was: "delta E1 E1" creates a new "reduction tree" (my own made up term) with E1 being the left child of this new root node, and E2 being the right child of this new root node - and which then begins applying the reduction on this newly constructed tree.
https://olydis.medium.com/a-visual-introduction-to-tree-calc...
Overall the concept seems pretty interesting - and it's nice to see someone come up with something both novel in the space and at the same time seemly "applicable".
macintux
|next
|previous
[-]
pgt
|next
|previous
[-]
> f = λa λb concat ["Hello ",a," ",b,"!"] > f "Jane" "Doe" Hello Jane Doe!
then,
> g = f "Admiral" > invert g "Hello Admiral Alice!" Alice
eitally
|next
|previous
[-]
afc
|root
|parent
|next
[-]
bawolff
|root
|parent
|next
|previous
[-]
macintux
|root
|parent
|previous
[-]
tripplyons
|next
|previous
[-]
olydis
|root
|parent
[-]
See Barry’s post https://github.com/barry-jay-personal/blog/blob/main/2024-12... for more discussion.
gavinray
|next
|previous
[-]
He's really into the graphical representation of Turing machines and multiway Turing machines.
tombert
|root
|parent
[-]
The first chapter is so completely self-aggrandizing about how this book will change your life and the world and the entirety of science and mathematics and you should feel lucky for reading it.
The cellular automata stuff is pretty cool, but I don't feel like it lived up to the hype of the first chapter.
gram-hours
|next
|previous
[-]
Ok. But what is it?
est
|next
|previous
[-]
The Tao giveth △ (false)
△ gives △ △ (true)
△(△, △) giveth rise to all things computable
(just kidding, I am totally lost to this)
timcobb
|previous
[-]
seanhunter
|root
|parent
|next
[-]
[1] or not pure maths anyway. It's applied maths like all computer science.
phlakaton
|root
|parent
|previous
[-]
It's like they had the idea of marketing this like a software project, not realizing that most front pages of software projects are utter bunk as well. It introduces terminology and syntax with no motivation or explanation.
Even once trying to get into "Quick Start" and "Specification" I was still mystified as to what it is or why I should want to play with it, or care. I had to go to the link mentioned upthread to get any sense of what this was or how it worked.
I think it's just badly written.
That being said, what seems to be proposed is a structure and calculus that are an alternative to lambda-calculus. The structures, as you can probably guess from the picture, are binary trees, ostensibly unlabeled except that there is significance to the ordering of the children. The calculus appears to be rules about how trees can be "reduced", and there is where the analogy to lambda calculus comes in.
Hopefully someone who actually knows this stuff can see whether I managed to get all that right – because I promise you, none of that understanding came from the website.
wordToDaBird
|root
|parent
[-]
https://github.com/barry-jay-personal/tree-calculus/tree/mas...
If you don’t understand what it does, it’s not for you. But if you don’t understand what it does, get good.
TLDR; what happens when a very small piece of js can be run in the browser or any environment and offer a meta programming layer, that is stupid simple, but also useful because it offers Turing completeness with reflection? Also, it’s site explains what it does, but you have to center on what it is doing. “Minimal” 20 lines of rust is the entire calculus. If you don’t know what Turing complete means get out. Similarly with reflective. Modular, look at the demos.
You flunked out of putting in an effort before spouting your mouth do try and actually be useful before you respond, there are those of us actually paying attention.