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

Function wrapper removal #16

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Page-
Copy link
Contributor

@Page- Page- commented Nov 17, 2011

These commits are designed to remove the majority of the unnecessary function wrappers in the generated javascript code.
It removes the wrappers in the case of transFn -> And and Rule -> And, additionally it will push a Set -> And down onto the last expression of the And, this allows optimisation of And -> Set -> And down to And -> Set.

Page added 3 commits November 17, 2011 20:33
…> And.

This helps in cases where you have And -> Set -> And as it will change to And -> And -> Set which will be optimised to And -> Set, it will also allow the function wrapper to be removed in the case of transFn -> Set -> And and Rule -> Set -> And.
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

Successfully merging this pull request may close these issues.

1 participant