Replies: 3 comments 4 replies
-
A sequence of space-separated lindies is a form of applicative expression. The ob-exp interpretation of
is as
and the question is whether it is more valuable to present that as
instead. This makes obstring.txt more complicated and maybe it should not be for CFob after all. Maybe we want CFob to be the pure case without the hack. |
Beta Was this translation helpful? Give feedback.
-
I am more-attached to this hack because it makes things like reporting test results and providing messages more straightforward. And one can form operands this way too. This is a tiny bit like the LISP SEXPR use to provide list-structured operands and even texts to applications rather than always serving as a LISP EVAL expression. That involves the LISP reader (hack). I didn't want to do that except for the fact that oMiser has no string data type and no good way to introduce one at what I want to keep the fundamental level. That Lindies are bare symbols and have no individual applicative interpretations is intentional. The pure-Lindy short-circuit is intended to provide evidence to users of where that is happening by trapping as high as possible. It also provides a kind of symbolic execution for confirming the operation of applications, as done for the computational interpretation of To do the same for an interpretation of pure Lindies as a kind of (actually-applicative) text is an unexpected wrinkle that I am becoming fond of. This does not involve the reader, so it is not about SEXPRs, and the illusion might be confusing. Of course, it does not take anything to allow the input. The question is whether it should be provided in output. The output case is still an invariant. On re-input, the output is the same, rather than a Finally, allowing it in the input does not require any change, though we might want to allow a non-lindy singleton terminator. I think the only non-lindy individual allowed in such an arrangement should be A tricky case has to do with when a pure-lindy case is used as an operand to a non-pure-lindy operator. We already have that case, however. |
Beta Was this translation helpful? Give feedback.
-
PROPOSED APPROACH
|
Beta Was this translation helpful? Give feedback.
-
A limitation of oFrugal is that REPL outputs are always canonical forms for obs.
Because there are no character strings and input-output in the oMiser computational implementation, it makes presentation of results in terms of a representation rather difficult.
The rules for pure lindies may provide an useful hack.
This might make the oFrugal output more complicated to produce and to understand.
This discussion is to ascertain how valuable this might be.
Beta Was this translation helpful? Give feedback.
All reactions