Charles-Johnson / zia_programming

A language that can program itself
https://zia-lang.org
GNU General Public License v3.0
3 stars 0 forks source link

"unknown" concept #60

Closed Charles-Johnson closed 5 months ago

Charles-Johnson commented 2 years ago

This can be useful to clarify is the truth of a statement is currently unkown.

e.g.

(a -> b) -> unknown

could reduce to true because a and b are abstract concepts without a specified reduction.

another example

true  -> unknown

reduces to false because true is known to be true!

Need to consider cache invalidation rules for expressions reducing to unknown and cached reduction derived from reductions to unknown.

Also need to consider whether it makes sense to allow expressions to explicitly reduce to unknown