diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-12-06 10:15:58 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-12-06 10:15:58 -0500 |
commit | 753923c9a3ae6b5e3d6754083c2f2a8742b62ebb (patch) | |
tree | 38b78b26570ddcb02996409243d2b00ec218cdfb /tests/bf | |
parent | 21f98fd513f193963f5932da84176c418168d061 (diff) |
new test
Diffstat (limited to 'tests/bf')
-rw-r--r-- | tests/bf/bf.toc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/bf/bf.toc b/tests/bf/bf.toc index ef0c086..29f0bcc 100644 --- a/tests/bf/bf.toc +++ b/tests/bf/bf.toc @@ -1,4 +1,4 @@ -getstdin @= fn() []char { +getstdin ::= fn() []char { contents : []char; contents_sz : int; contents_len : int; @@ -30,11 +30,11 @@ getstdin @= fn() []char { contents }; -puti @= fn(x: int) { +puti ::= fn(x: int) { #C("printf(\"%ld\\n\", x)"); }; -main @= fn() { +main ::= fn() { code := getstdin(); tape_sz := 3; tape := new(int, tape_sz); |