Streamline parsing.

This commit is contained in:
Stephen Chung
2020-12-27 16:50:48 +08:00
parent 48af8719e7
commit 6b8d78d64c
4 changed files with 222 additions and 165 deletions

View File

@@ -32,7 +32,7 @@ fn test_arrays() -> Result<(), Box<EvalAltResult>> {
x.append(y);
x.len + r
"
"
)?,
14
);
@@ -42,7 +42,7 @@ fn test_arrays() -> Result<(), Box<EvalAltResult>> {
let x = [1, 2, 3];
x += [4, 5];
len(x)
"
"
)?,
5
);
@@ -53,7 +53,7 @@ fn test_arrays() -> Result<(), Box<EvalAltResult>> {
let x = [1, 2, 3];
let y = [4, 5];
x + y
"
"
)?
.len(),
5