Files @ 3ffeb97c88a7
Branch filter:

Location: CSY/reowolf/testdata/parser/counterexamples/integer_specification.pdl

MH
Add docs for implementing infinite types in a value based language.

Since we are a value based language and do not have the concept of
pointers, then if we want to lay out the memory of datatypes we run
into a problem when the types represent recursive datastructures:
these are infinite in size. So we have an algorithm for turning
some types into pointer-like things, such that we can lay everything
out in memory.
#version 1

int check_integer_specs() {
    int a = 0xFF;
    // no octal support, but thats fine
    int b = 0xxxxFF;
    int c = 0x1x2X3x4X5x6X7x8X; // Wut
    int d = 1FF;
    return a;
}