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

Numbers #6

Open
lorenzleutgeb opened this issue Nov 9, 2022 · 0 comments
Open

Numbers #6

lorenzleutgeb opened this issue Nov 9, 2022 · 0 comments

Comments

@lorenzleutgeb
Copy link
Owner

lorenzleutgeb commented Nov 9, 2022

Reasoning about programs that involve (literal) numbers is currently not possible.

Scope

We restrict ourselves to fixed width signed integers. Unsigned integers, arbitrary length integers and anything non-integer (fixed decimal, floating, rational, ...) is out of scope.

Width [bit] Native Haskell Java
16 Int16 Data.Int.Int16 Short or short
32 Int32 Data.Int.Int32 Integer or int
64 Int64 Data.Int.Int64 Long or long

Grammar, Parsing

The input grammar already allows numeral expressions. However, the visitor will throw as soon as it encounters such an expression.

Typing

TODO

Implementation

TODO

lorenzleutgeb added a commit that referenced this issue Nov 14, 2022
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