advancedresearch / joker_calculus

An implementation of Joker Calculus in Rust
MIT License
5 stars 2 forks source link

Use `id` as evaluation termination of sub-expression #64

Closed bvssvni closed 9 months ago

bvssvni commented 9 months ago

There are some language biases which insist on not being evaluated. Thus, they are "resting" in their inner structure and refuses further evaluation.

However, when such sub-expressions are evaluated, they can still be reduced sometimes in the outer language.

E.g. !!id(x) should reduce to id(x) in the Closed Variant.