blob: cfa07f783f6f68283f14e73bdbac7553aff0b1e0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
[comments in square brackets]
[preprocessor directives]
#INCLUDE 'math.halk'; [looks for a 'math' file in cwd, then ~/halk/include]
#INCLUDE 'io' AS ''; [bring everything in 'io' into global scope]
let. hello => 'hello, '; [variables must be given a value at declaration]
[constants are denoted with a '=>']
let. say_hello.to -> {
let.greeting ->
}
|