This website requires JavaScript.
Explore
Help
Register
Sign In
Mikkel
/
slige
Watch
1
Star
0
Fork
0
You've already forked slige
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
5d6b1abefc
slige
/
examples
/
annos.slg
11 lines
112 B
Plaintext
Raw
Normal View
History
Unescape
Escape
details, not trailing anno
2024-12-31 00:12:34 +01:00
//
#[builtin(Print)]
fn print(msg: string) {
infix
2024-12-12 15:37:56 +01:00
"hello" + 0
builtins ignore type check
2024-12-11 13:16:34 +01:00
}
parse annos
2024-12-11 13:03:01 +01:00
fn main() {
print builtin
2024-12-11 13:37:26 +01:00
print("hello world!\n");
parse annos
2024-12-11 13:03:01 +01:00
}
Reference in New Issue
Copy Permalink