
test.example.drawing2.dnal Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dnal Show documentation
Show all versions of dnal Show documentation
A compiler for data that uses a JSON-like format to define types and values
The newest version!
//example
type Shape struct {
x int
y int
}
x >= 0
y >= 0
end
type Circle Shape {
radius int
}
radius < 100
end
type Rect Shape {
width int
height int
}
width < 100
height < 100
end
//let x int = 44;
let shape1 Shape = { 12, 22 }
let circle1 Circle = { 13, 23, 44 }
let drawing list = [
{ 10, 20 },
{ 11, 21 },
shape1,
circle1
]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy