diff options
Diffstat (limited to 'spec/inputs')
| -rw-r--r-- | spec/inputs/literals.yue | 5 | ||||
| -rw-r--r-- | spec/inputs/syntax.yue | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/spec/inputs/literals.yue b/spec/inputs/literals.yue index d4b0326..8b81fde 100644 --- a/spec/inputs/literals.yue +++ b/spec/inputs/literals.yue | |||
| @@ -23,6 +23,11 @@ _ = { | |||
| 23 | 0x2aLL | 23 | 0x2aLL |
| 24 | 0x2aULL | 24 | 0x2aULL |
| 25 | 25 | ||
| 26 | 1_000_000.000_000_1 | ||
| 27 | 1_234e567_8 | ||
| 28 | 1_234E-567_8 | ||
| 29 | 0xDE_AD_BE_EF | ||
| 30 | |||
| 26 | [[ hello world ]] | 31 | [[ hello world ]] |
| 27 | 32 | ||
| 28 | [=[ hello world ]=] | 33 | [=[ hello world ]=] |
diff --git a/spec/inputs/syntax.yue b/spec/inputs/syntax.yue index e274f1a..1e01a26 100644 --- a/spec/inputs/syntax.yue +++ b/spec/inputs/syntax.yue | |||
| @@ -142,6 +142,10 @@ if hello then _ = 343 | |||
| 142 | 142 | ||
| 143 | print "what" if cool | 143 | print "what" if cool |
| 144 | 144 | ||
| 145 | reader\parse_line! until reader\eof! | ||
| 146 | |||
| 147 | reader\parse_line! while not reader\eof! | ||
| 148 | |||
| 145 | ((...)-> arg = {...})! | 149 | ((...)-> arg = {...})! |
| 146 | 150 | ||
| 147 | x = (...) -> | 151 | x = (...) -> |
