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

Request variable default int size #2

Open
JamesCaska opened this issue Sep 2, 2014 · 0 comments
Open

Request variable default int size #2

JamesCaska opened this issue Sep 2, 2014 · 0 comments

Comments

@JamesCaska
Copy link

The JVM I am working with uses a 16-bit int and a 32-bit long.

I would like to make the code generator aware of this as a compile flag.

eg
print 32767
print 32768

produces the following output when 'int' is 32 bit
32767
32768

but produces the following output when 'int' is 16 bit
32767
-32768

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