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

View File

@ -1 +1,2 @@
$$ TEST: [-tok]
(***)

View File

@ -1 +1,2 @@
$$ TEST: [-tok]
(*(**)*)

View File

@ -1,3 +1,4 @@
$$ TEST: [-tok]
(*(**)*)
(***)
(******)(*\kpp*********)

View File

@ -1,3 +1,4 @@
$$ TEST: [-tok]
(* hello *)
(* hello *)
(* I'd think this is a legal "string" that contains several \n \t

View File

@ -1,3 +1,4 @@
$$ TEST: [-tok]
This is a test
9combined 7okens
12345

View File

@ -1,3 +1,4 @@
$$ TEST: [-tok]
while
While
whiLe

View File

@ -1,3 +1,4 @@
$$ TEST: [-tok]
+
-
*

View File

@ -1,3 +1,4 @@
$$ TEST: [-tok]
;
:
,

View File

@ -1,3 +1,4 @@
$$ TEST: [-tok]
)
a)
)a

View File

@ -1,3 +1,4 @@
$$ TEST: [-tok]
type rec: [integer: x; integer: y]
type T1: integer -> integer
type T2: rec -> integer

View File

@ -1,3 +1,4 @@
$$ TEST: [-tok]
(* Type definitions *)
type string: 1 -> character
type int2int: integer -> integer

View File

@ -1,3 +1,4 @@
$$ TEST: [-tok]
type main: string -> integer
function entry: main

View File

@ -1,3 +1,4 @@
$$ TEST: [-tok]
45
123
8392

View File

@ -1,3 +1,4 @@
$$ TEST: [-tok]
"this is a string" 721398 'g' '/n' (* should print 3 tokens before this *)
'
'

View File

@ -1,3 +1,4 @@
$$ TEST: [-tok]
valid1
Valid2
_valid3