Skip to content

Commit e1cd33d

Browse files
hitting 8GB now :(
1 parent 3a473dd commit e1cd33d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
nostd: prod
3-
./production --nostd -o tmp.s tests/strict/match2.lm
3+
./production --nostd -o tmp.s STRICT/cli.lm
44
as -o tmp.o tmp.s
55
ld -o tmp tmp.o
66
./tmp && echo $?

STRICT/cli.lm

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ main := λ(: argc U64)(: argv U8[][]).(tail(
5454
(print Preprocess:\s_s)(print config-preprocess)(print \n_s)
5555
(print Strict:\s_s)(print config-strict)(print \n_s)
5656

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+
)))
6666

6767

6868
# (Compile (

0 commit comments

Comments
 (0)