Added return statements t#04

This commit is contained in:
Scarlett
2025-02-11 17:15:54 -05:00
parent 9c67da0348
commit 466f111c87
10 changed files with 1809 additions and 128 deletions
+9
View File
@@ -0,0 +1,9 @@
(* hello *)
(* hello *)
(* I'd think this is a legal "string" that contains several \n \t
escaped characters, isn't it? *)
(* \ *)
(* *)
(*{COMMENT}+ *)
(* * *)
(* (hello) *)
-50
View File
@@ -1,50 +0,0 @@
'''
'\'
false
'''
nullfalse
"nulltrue
null
'7'
true
'189
'\t'
'"'
'/'
'\n'
'\''
'\t'
'\\'
'n'
'\'
'fdsf'
'
'
' '
'''
"STRINGwithnotSPaces"
' '
'\ '
"J"
""
" "
\"\"
"this is a string" 721398 'g' '/n'
12893 "this is not a string
"{SCHAR}"
"SCHAR"
"[SCHAR]"
"I'd think this is a legal \"string\" that contains \n \t several escaped characters, isn't it?"
"I'd think this is a legal \"string\" that contains several \\n \\t escaped characters, isn't it?"
(* hello *)
(* hello *)
(* I'd think this is a legal "string" that contains several \n \t
escaped characters, isn't it? *)
(* \ *)
(* *)
(*{COMMENT}+ *)
(* * *)
(* (hello) *)
-30
View File
@@ -1,30 +0,0 @@
while
While
whiLe
if
IF
If
iF
then
Then
theN
else
eLse
elSe
Else
type
Type
tyPe
function
Function
functioN
return
Return
returN
external
External
exteRnal
as
As
aS
functionaly
-10
View File
@@ -1,10 +0,0 @@
integer
Integer
address
Address
Boolean
boolean
character
Character
string
String