Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

New let/letrec syntax #138

Closed
rolyp opened this issue May 17, 2019 · 0 comments
Closed

New let/letrec syntax #138

rolyp opened this issue May 17, 2019 · 0 comments

Comments

@rolyp
Copy link
Collaborator

rolyp commented May 17, 2019

For various reasons I think I prefer the syntax:

   Let ::= let Var = Exp
   RecDef ::= fun ...
   LecRec ::= letrec RecDef (; RecDef)*
   Exp ::= ... | (Let | LetRec)* in Exp

to the current:

   Let ::= let Var = Exp in Exp
   RecDef ::= fun ...
   LecRec ::= letrec RecDef (; RecDef)* in Exp
   Exp ::= ... | Let | LetRec

In particular the prelude (later, some more realistic form of module) can be of the form (Let | LetRec)* rather than RecDef (; RecDef)* as it is currently.

@rolyp rolyp added language and removed proposed labels May 17, 2019
@rolyp rolyp closed this as completed May 17, 2019
@rolyp rolyp mentioned this issue May 17, 2019
13 tasks
@rolyp rolyp added this to Fluid Jun 30, 2022
@rolyp rolyp moved this to Done in Fluid Jun 30, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant