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

Entry point model #4

Open
bryancatanzaro opened this issue Jun 22, 2012 · 0 comments
Open

Entry point model #4

bryancatanzaro opened this issue Jun 22, 2012 · 0 comments

Comments

@bryancatanzaro
Copy link
Owner

The compiler currently assumes there is one entry point function, and this entry point is the only one which receives and returns containers. All other non-nested functions are inlined. This is problematic for several reasons:

  1. Conditional expressions aren't handled correctly. x if b else y
  2. Short circuit binary operations aren't handled correctly if x or y:

We need to change from an "entry point" model in the compiler to a parallelism nesting level, and outermost functions can all receive and return containers.

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

1 participant