runtime
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package gyehoek:gyehoek@0.1.0;
|
||||
|
||||
interface runtime {
|
||||
resource scm {
|
||||
make-small-int: static func(n: s32) -> scm;
|
||||
}
|
||||
}
|
||||
|
||||
interface program {
|
||||
run: func() -> s32;
|
||||
}
|
||||
|
||||
world gyehoek-runtime {
|
||||
export runtime;
|
||||
}
|
||||
|
||||
world gyehoek-program {
|
||||
import runtime;
|
||||
export program;
|
||||
}
|
||||
Reference in New Issue
Block a user