Data update
This commit is contained in:
parent
0df55f9f24
commit
aec8ed51b6
1045 changed files with 18889 additions and 2777 deletions
14
Task/Here-document/EasyLang/here-document.easy
Normal file
14
Task/Here-document/EasyLang/here-document.easy
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# The here-document is not here, but at the end of the program
|
||||
repeat
|
||||
s$ = input
|
||||
until error = 1
|
||||
print s$
|
||||
.
|
||||
input_data
|
||||
This is a 'raw' string with the following properties:
|
||||
- indention is preserved,
|
||||
- an escape sequence such as a quotation mark "\\" is interpreted literally, and
|
||||
- interpolation such as %(a) is also interpreted literally.
|
||||
- """ is also interpreted literally.
|
||||
|
||||
`Have fun!`
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
val .s = q:block END
|
||||
val .s = qs:block END
|
||||
We put our text here.
|
||||
Here we are, Doc.
|
||||
END
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
val .re = re:block END
|
||||
a regex pattern here
|
||||
Still here, Doc.
|
||||
val .s = qs:lead:block END
|
||||
We put our text here.
|
||||
Here we are, Doc.
|
||||
END
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
val .re = re:x:block END
|
||||
a free-spacing regex pattern here
|
||||
Somewhere, Doc.
|
||||
val .re = re:block END
|
||||
a regex pattern here
|
||||
Still here, Doc.
|
||||
END
|
||||
|
|
|
|||
4
Task/Here-document/Langur/here-document-4.langur
Normal file
4
Task/Here-document/Langur/here-document-4.langur
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
val .re = re:x:block END
|
||||
a free-spacing regex pattern here
|
||||
Somewhere, Doc.
|
||||
END
|
||||
Loading…
Add table
Add a link
Reference in a new issue