Explore typing tricu #6
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Typed Program Analysis without Encodings by Barry Jay (December, 2024) details a method of embedding a powerful type system in the untyped tree calculus. Let's explore implementing typing in tricu.
An implementation has been explored by Johannes Bader on treecalcul.us:
https://treecalcul.us/live/?example=typer
https://treecalcul.us/live/?example=typed-program-analysis
https://treecalcul.us/live/?example=demo-gradual-typing
He added syntax sugar to his language for desugaring ADT definitions similar to Haskell to Scott encoded type constructors which is available in those demos.