File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
2
2
nostd : prod
3
- ./production --nostd -o tmp.s tests/strict/match2 .lm
3
+ ./production --nostd -o tmp.s STRICT/cli .lm
4
4
as -o tmp.o tmp.s
5
5
ld -o tmp tmp.o
6
6
./tmp && echo $?
Original file line number Diff line number Diff line change @@ -54,15 +54,15 @@ main := λ(: argc U64)(: argv U8[][]).(tail(
54
54
(print Preprocess:\s_s)(print config-preprocess)(print \n_s)
55
55
(print Strict:\s_s)(print config-strict)(print \n_s)
56
56
57
- # (let continue Trueu8)
58
- # (while (==( continue Trueu8 )) (match input (
59
- # ()
60
- # ( SNil (set continue Falseu8) )
61
- # ( (SCons( SNil rst )) (set input rst) )
62
- # ( (SCons( l rst )) (tail( (print l) (set input rst) )) )
63
- # ( (SCons( (SAtom( fp )) rst )) (tail( (cli-intake fp) (set input rst) )))
64
- # ( (SAtom( fp )) (tail( (cli-intake fp) (set continue False) )))
65
- # )))
57
+ (let continue Trueu8)
58
+ (while (==( continue Trueu8 )) (match input (
59
+ ()
60
+ ( SNil (set continue Falseu8) )
61
+ ( (SCons( SNil rst )) (set input rst) )
62
+ ( (SCons( l rst )) (tail( (print l) (set input rst) )) )
63
+ ( (SCons( (SAtom( fp )) rst )) (tail( (cli-intake fp) (set input rst) )))
64
+ ( (SAtom( fp )) (tail( (cli-intake fp) (set continue False) )))
65
+ )))
66
66
67
67
68
68
# (Compile (
You can’t perform that action at this time.
0 commit comments