This commit is contained in:
Scarlett
2025-05-03 19:25:55 -04:00
parent fbd08c634a
commit ea7c284665
64 changed files with 121 additions and 995 deletions
@@ -1 +1,2 @@
$$ TEST: [-tok]
(***)
@@ -1 +1,2 @@
$$ TEST: [-tok]
(*(**)*)
@@ -1,3 +1,4 @@
$$ TEST: [-tok]
(*(**)*)
(***)
(******)(*\kpp*********)
+1
View File
@@ -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
View File
@@ -1,3 +1,4 @@
$$ TEST: [-tok]
while
While
whiLe
+1
View File
@@ -1,3 +1,4 @@
$$ TEST: [-tok]
+
-
*
+1
View File
@@ -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
View File
@@ -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
View File
@@ -1,3 +1,4 @@
$$ TEST: [-tok]
valid1
Valid2
_valid3