woah
This commit is contained in:
@ -1 +1,2 @@
|
||||
$$ TEST: [-tok]
|
||||
(***)
|
@ -1 +1,2 @@
|
||||
$$ TEST: [-tok]
|
||||
(*(**)*)
|
@ -1,3 +1,4 @@
|
||||
$$ TEST: [-tok]
|
||||
(*(**)*)
|
||||
(***)
|
||||
(******)(*\kpp*********)
|
||||
|
@ -1,3 +1,4 @@
|
||||
$$ TEST: [-tok]
|
||||
(* hello *)
|
||||
(* hello *)
|
||||
(* I'd think this is a legal "string" that contains several \n \t
|
||||
|
@ -1,3 +1,4 @@
|
||||
$$ TEST: [-tok]
|
||||
This is a test
|
||||
9combined 7okens
|
||||
12345
|
||||
|
@ -1,3 +1,4 @@
|
||||
$$ TEST: [-tok]
|
||||
while
|
||||
While
|
||||
whiLe
|
||||
|
@ -1,3 +1,4 @@
|
||||
$$ TEST: [-tok]
|
||||
+
|
||||
-
|
||||
*
|
||||
|
@ -1,3 +1,4 @@
|
||||
$$ TEST: [-tok]
|
||||
;
|
||||
:
|
||||
,
|
||||
|
@ -1,3 +1,4 @@
|
||||
$$ TEST: [-tok]
|
||||
)
|
||||
a)
|
||||
)a
|
||||
|
@ -1,3 +1,4 @@
|
||||
$$ TEST: [-tok]
|
||||
type rec: [integer: x; integer: y]
|
||||
type T1: integer -> integer
|
||||
type T2: rec -> integer
|
||||
|
@ -1,3 +1,4 @@
|
||||
$$ TEST: [-tok]
|
||||
(* Type definitions *)
|
||||
type string: 1 -> character
|
||||
type int2int: integer -> integer
|
||||
|
@ -1,3 +1,4 @@
|
||||
$$ TEST: [-tok]
|
||||
type main: string -> integer
|
||||
function entry: main
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
$$ TEST: [-tok]
|
||||
45
|
||||
123
|
||||
8392
|
||||
|
@ -1,3 +1,4 @@
|
||||
$$ TEST: [-tok]
|
||||
"this is a string" 721398 'g' '/n' (* should print 3 tokens before this *)
|
||||
'
|
||||
'
|
||||
|
@ -1,3 +1,4 @@
|
||||
$$ TEST: [-tok]
|
||||
valid1
|
||||
Valid2
|
||||
_valid3
|
||||
|
Reference in New Issue
Block a user