-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
taskAn effort that needs to be identified and then carried out, staged as neededAn effort that needs to be identified and then carried out, staged as needed
Description
Several matters need to be addressed in the Frugalese grammer, including ob-exp.txt.
- The lexical structure needs to be completed.
- The progressive handling of declarations, shadowing, and by-value needs to be reflected above the 〈ob-exp〉 category. The semantics of the progression through a sequence of inputs will be expressed in terms of insertions in a key-value list and lookups of 〈binding-name〉 entries. This will cause an additional parameter on almost all productions so that resolution of 〈binding-name〉 terms is specified.
- There needs to be agreement on the declaration form.
ob 〈binding-name〉 = 〈ob-exp〉
requires back-tracking or creation of a reserved word. Whatever form is settled on, those two considerations must be addressed.
4. There may be a bug in the semantics for I〈obap-form〉.
5. There needs to be a "." operator that allows chaining, and fits with introduction of the Capsule Hack (#22). This would have "methods" group properly. In general, the productions
〈function-form〉 ::= 〈function-form〉 . 〈term〉
〈obap-form〉 ::= 〈obap-form〉 . 〈term〉
are such that the expression ^lambda.x(mumble) is sugar for (^lambda x)(mumble) while right-associativity is preserved with
^lambda.x ^lamda.y ^lambda.z '( (x :: z) :: (y :: z) )
Metadata
Metadata
Assignees
Labels
taskAn effort that needs to be identified and then carried out, staged as neededAn effort that needs to be identified and then carried out, staged as needed