File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,15 @@ type S (SNil)
5
5
| (SPointer( ?[] ));
6
6
7
7
print := λ(: x S). (: (tail(
8
- # (if (==( (.0 x) 3u64 )) (
8
+ (if (==( (.0 x) 3u64 )) (
9
9
(print '\[\]_s)
10
- # ) (
11
- # (print 'NotNil_s)
12
- # (if (==( (.0 x) 2u64 )) (
13
- # (print (.1 (as x SAtom)))
14
- # ) (
15
- # (print 'TODO-print-S_s)
16
- # ))
17
- # ))
10
+ ) (
11
+ (if (==( (.0 x) 2u64 )) (
12
+ (print (.1 (as x SAtom)))
13
+ ) (
14
+ (print (.0 x))
15
+ ))
16
+ ))
18
17
()
19
18
)) Nil);
20
19
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ config-mode := Compile;
13
13
14
14
main := λ(: argc U64)(: argv U8[][]).(tail(
15
15
(let argi 0u64)
16
- (let input SNil )
16
+ (let input (SAtom( 'test_s )) )
17
17
(while (<( argi argc )) (
18
18
(print input)
19
19
# (if (==( ([]( argv argi )) '--tokenize_s )) (
You can’t perform that action at this time.
0 commit comments