orcmid / miser

The Miser Project is practical demonstration of computation-theoretical aspects of software
https://orcmid.github.io/miser/
Apache License 2.0
3 stars 1 forks source link

Adjust obaptheory to allow some singletons in traps #68

Open orcmid opened 2 years ago

orcmid commented 2 years ago

See #65 for what this is about.

The ob-exp a b c is now evaluated as a :: b :: c to provide a trap for there being no established applicative-interpretation for pure-lindy forms.

In an expanded form of the REPL output, such forms could be output in the applicative form as a simple variation on the pure CFob out;put case.

The adjustment to obaptheory will incorporate certain singleton cases (at least .NIL) in operand-position traps without changing the round-trip preservation of traps.