1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00

[language] allow multiline strings

This commit is contained in:
Étienne Fildadut 2024-01-16 15:52:02 +01:00
parent eaadb4ace6
commit a702f250f9
13 changed files with 38 additions and 39 deletions

View file

@ -1,7 +1,6 @@
--# run #--
--- text ---
| {}"" {}"\"Name: Darmanin\\\
Age: 38\"" {}"" |
| {}"" {}"\"Name: Darmanin\nAge: 38\"" {}"" |
--- return ---
()
--# saved #--

View file

@ -1,25 +1,15 @@
--# run #--
--- text ---
| {}"" {}"1" {}"" {}"\
" {}"" |
| {}"" {}"2" {}"" {}"\
" {}"" |
| {}"" {}"3" {}"" {}"\
" {}"" |
| {}"" {}"4" {}"" {}"\
" {}"" |
| {}"" {}"5" {}"" {}"\
" {}"" |
| {}"" {}"6" {}"" {}"\
" {}"" |
| {}"" {}"7" {}"" {}"\
" {}"" |
| {}"" {}"8" {}"" {}"\
" {}"" |
| {}"" {}"9" {}"" {}"\
" {}"" |
| {}"" {}"10" {}"" {}"\
" {}"" |
| {}"" {}"1" {}"" |
| {}"" {}"2" {}"" |
| {}"" {}"3" {}"" |
| {}"" {}"4" {}"" |
| {}"" {}"5" {}"" |
| {}"" {}"6" {}"" |
| {}"" {}"7" {}"" |
| {}"" {}"8" {}"" |
| {}"" {}"9" {}"" |
| {}"" {}"10" {}"" |
--- text ---
| {}"" {}"11" {}"" |
--- return ---

View file

@ -0,0 +1,5 @@
--# run #--
--- return ---
"foo\nbar\n\ta\n\tb\n\t c\n d"
--# saved #--
{}

View file

@ -4,10 +4,9 @@
--- text ---
| {}"quote " {}"\"" {}"" |
--- text ---
| {}"other codes " {}"\
" {}" " {}"\\" {}" " {}"\9" {}" " {}"{" {}"braces}" |
| {}"other codes " {}"\n" {}" " {}"\" {}" " {}"\t" {}" " {}"{" {}"braces}" |
--- text ---
| {}"" {}"escaping expressions abc and {stuff} \\ and quotes \"" {}"" |
| {}"" {}"escaping expressions abc and {stuff} \ and quotes \"" {}"" |
--- return ---
()
--# saved #--

View file

@ -4,8 +4,7 @@
--- text ---
| {}"quote " {}"\"" {}"" |
--- text ---
| {}"other codes " {}"\
" {}" " {}"\\" {}" " {}"\9" {}"" |
| {}"other codes " {}"\n" {}" " {}"\" {}" " {}"\t" {}"" |
--- text ---
| {}"decorators " {}"#" {}" tag " {}"~" {}" condition " {}"$" {}" fn" |
--- text ---