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

Error messages #4

Open
wcmjunior opened this issue Apr 7, 2016 · 0 comments
Open

Error messages #4

wcmjunior opened this issue Apr 7, 2016 · 0 comments

Comments

@wcmjunior
Copy link
Member

Compiler must display error messages whenever a not supported syntax or operation is used in the input code.
Some known limitations on code written in User Function objects:

  • Only Java primitive types up to 32 bits are allowed, since they are mapped directly to C types
    during translation;
  • Variables declared outside the user function scope can be used for read and write operations;
  • Variables declared outside the user function scope without final modifier will imply in sequential
    code translation for the given iterator;
  • Variables declared outside the user function scope with final modifier will imply in parallelizable
    code translation for the given iterator;
  • Arrays are not supported;
  • Strings are not supported;
  • Method calls are not supported;
  • Nested user functions are not allowed;
  • Operations with Bitmaps and HDR images are fully supported in Java sequential version and
    compiler generated version, whereas there is still work to be done on compiler generated
    code for FlatArray data type (although it works on Java sequential version).
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