Skip to content

Question: Why does Whiley have reference types? #1164

@dibyendumajumdar

Description

@dibyendumajumdar

Hi

I am creating a mini language as a compiler learning project that I hope to publish - and one of the things I am trying to figure out is a type system. I am looking at how to model Null for instance, and I am looking at the type system in Whiley as inspiration. I was intrigued that While has an explicit Reference type. Why is that? If my language is similar to Java - is it useful to have an explicit Reference / Pointer type, or can this be implicit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions