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

Types (Primitive Types, References to Objects, arrays) #35

Closed
Inaam-Ahmed opened this issue Jul 21, 2019 · 0 comments
Closed

Types (Primitive Types, References to Objects, arrays) #35

Inaam-Ahmed opened this issue Jul 21, 2019 · 0 comments

Comments

@Inaam-Ahmed
Copy link
Collaborator

Inaam-Ahmed commented Jul 21, 2019

HARPO Types are converted into Boogie Types according to following Map:
Int8 -> int
Int16 -> int
Int32 -> int
Int64 -> int
Real16 -> real
Real32 -> real
Real64 -> real
bool -> bool
CName -> Ref where CName is a reference to an instance of a class
Perm (Real(*)) -> Perm (real) (We are not using Perm types so far in HARPO, we are using Real types in HARPO to represent the permissions)
[T[N]] -> ArrayRef Tr[T]

Initialization Expressions for Heap left in another Issue.

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