Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

OhuaLang #23

Closed
sertel opened this issue Nov 19, 2018 · 0 comments
Closed

OhuaLang #23

sertel opened this issue Nov 19, 2018 · 0 comments

Comments

@sertel
Copy link
Contributor

sertel commented Nov 19, 2018

By now, there are at least two cases where we want to provide syntax for convenience to the programmer but in the compiler want to desugar it to normal (typed) lambda calculus in ALang:

Therefore, I suggest to have another language called OhuaLang which is a superset of ALang and supports all this convenient syntax. The compiler pipeline is then:

OhuaLang -> ALang -> DFLang -> Code

OhuaLang will allow us to do all the desugaring in the compiler once instead of many times in each of the parsers.

JustusAdam added a commit that referenced this issue Nov 27, 2018
Added multi-argument apply and multi-argument lambdas to frontend language
@sertel sertel assigned sertel and JustusAdam and unassigned sertel Nov 28, 2018
JustusAdam added a commit to ohua-dev/alang-clike-parser that referenced this issue Dec 5, 2018
Altered syntax for lambda expressions, closes #10
Changed statement rules to accept a blocks without return expressions, closes #4
Changed lexer to accept underscore as a variable name, closes #2
JustusAdam added a commit to ohua-dev/alang-ml-parser that referenced this issue Dec 5, 2018
JustusAdam added a commit to ohua-dev/alang-sexpr-parser that referenced this issue Dec 5, 2018
JustusAdam added a commit to ohua-dev/ohuac that referenced this issue Dec 5, 2018
JustusAdam added a commit that referenced this issue Dec 11, 2018
Fixed the `Arcs` type (now compound, direct and state arcs are separated)
Changed the `Arc` family of types (its a single `Arc` type now and the rest aliases)
Implemented passes necessary for state binding normalization
Also simplified the other inlining passes using compositions of smaller passes
Changed `DFFnRef`. It makes more sense now
Extended the DFLang parser to work with state args
@sertel sertel closed this as completed Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants