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

Beta-reduce expressions when compiling to JS #17

Open
DaQuirm opened this issue Jun 5, 2018 · 0 comments
Open

Beta-reduce expressions when compiling to JS #17

DaQuirm opened this issue Jun 5, 2018 · 0 comments
Assignees

Comments

@DaQuirm
Copy link
Member

DaQuirm commented Jun 5, 2018

Example:

(App (Abs "x" (Term "x"))) (Lit "wow") is compiled into "(x => x)('wow')". But it can be beta-reduced to normal form already at compile time: "wow"

@DaQuirm DaQuirm self-assigned this Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant