dol 0.8.1

DOL (Design Ontology Language) - A declarative specification language for ontology-first development
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// hello_world.dol - Test string literals in WASM
// This demonstrates the DOL -> WASM -> Loa string pipeline

// Host import for printing (from Loa)
sex fun vudo_print(ptr: i32, len: i32)

// Function that prints a greeting
fun greet() {
    vudo_print("Hello, World!")
}

// Simple function for testing non-string code
fun add(a: i64, b: i64) -> i64 {
    return a + b
}