e7738de6d2
CI / Deep Native Runtime Cases (1/6) (push) Has been skipped
CI / Native Preflight (push) Failing after 1s
CI / Native Runtime Cases (1/2) (push) Failing after 0s
CI / Native Runtime Cases (2/2) (push) Failing after 1s
CI / Native Metadata Reports (push) Failing after 0s
CI / Native Direct Backend Artifacts (push) Failing after 0s
CI / Native Sanitizer Smoke (push) Failing after 1s
CI / Command Contract Snapshots (push) Failing after 1s
CI / Deep Conformance Suite (push) Has been skipped
CI / Graph Build Perf (push) Failing after 1s
CI / Deep Native Preflight (push) Has been skipped
CI / Deep Native Runtime Cases (2/6) (push) Has been skipped
CI / Deep Native Runtime Cases (3/6) (push) Has been skipped
CI / Conformance Suite (push) Failing after 1s
CI / Workspace Checks (push) Failing after 0s
CI / Deep Native Runtime Cases (5/6) (push) Has been skipped
CI / Deep Native Runtime Cases (6/6) (push) Has been skipped
CI / Deep Native Runtime Cases (4/6) (push) Has been skipped
CI / Deep Graph Build Perf (push) Has been skipped
57 lines
1.0 KiB
JSON
57 lines
1.0 KiB
JSON
{
|
|
"main": {
|
|
"prefix": "main",
|
|
"body": [
|
|
"pub fn main(world: World) -> Void raises {",
|
|
" check world.out.write(\"$1\\\\n\")",
|
|
"}"
|
|
],
|
|
"description": "Zero main entrypoint"
|
|
},
|
|
"type": {
|
|
"prefix": "type",
|
|
"body": [
|
|
"type ${1:Name} {",
|
|
" ${2:field}: ${3:i32},",
|
|
"}"
|
|
],
|
|
"description": "Zero type declaration"
|
|
},
|
|
"function": {
|
|
"prefix": "fn",
|
|
"body": [
|
|
"fn ${1:name}(${2:param}: ${3:i32}) -> ${4:i32} {",
|
|
" return ${2:param}",
|
|
"}"
|
|
],
|
|
"description": "Zero function declaration"
|
|
},
|
|
"test": {
|
|
"prefix": "test",
|
|
"body": [
|
|
"test \"${1:behavior}\" {",
|
|
" expect(${2:true})",
|
|
"}"
|
|
],
|
|
"description": "Zero test block"
|
|
},
|
|
"if": {
|
|
"prefix": "if",
|
|
"body": [
|
|
"if $1 {",
|
|
" $2",
|
|
"}"
|
|
],
|
|
"description": "Zero if statement"
|
|
},
|
|
"while": {
|
|
"prefix": "while",
|
|
"body": [
|
|
"while $1 {",
|
|
" $2",
|
|
"}"
|
|
],
|
|
"description": "Zero while loop"
|
|
}
|
|
}
|