An open API service indexing awesome lists of open source software.

https://github.com/rybla/block-types-2


https://github.com/rybla/block-types-2

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

# Notes

REPL

- click anywhere to get a REPL at that "location"
- a REPL is just a program

copy/pasting:

- find most recent ancestor (MRA) context and keep those free variables fixed
- turn other free variables not bound in MRA into holes

- we need concepts of _replacement_ and _substitution_, since sometimes you want
to replace one instance of a hole (which may appear elsewhere) with a fresh
hole, digs are replacements not substitutions

mutation

- a _mutation_ is either a _substitution_ or a _replacement_
- a _substitution_ is a mapping from a hole to a term of a unifiable type
- a _replacement_ is a mapping of a particular sub-term to a term, not
necessarily of a compatible type
- conditions: fixity of the original sub-term

render

- each code has a list of Transitions that are available while that code is
selected
- when a code is selected (by clicking / navigation), then it's associated list
of possible transitions are used to generate the palette options