about summary refs log tree commit diff
path: root/boot/tests/lex/basic.cskt
blob: 73804989ec72d50b79483bb4f3dc14b1e03b1e05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
very simple test to check if
the lexer works at all. :)

<<<

main = fun () int {
  return 1 + 2
}

>>>

NAME ASSIGN WORD_FUN ROUND_OPEN ROUND_CLOSE NAME CURLY_OPEN NEWLINE WORD_RETURN LITERAL_INTEGER PLUS LITERAL_INTEGER NEWLINE CURLY_CLOSE END_OF_FILE