Commit graph

96 commits

Author SHA1 Message Date
Remko Tronçon
98dbf19a45 Compile push & pop using global TOS. 2019-03-15 13:30:32 +01:00
Remko Tronçon
7c2bd40293 Export TOS global 2019-03-15 13:30:32 +01:00
Remko Tronçon
5e3ec31aae Enable output tests 2019-03-15 13:14:19 +01:00
Remko Tronçon
a6e8d28219 Fix POSTPONE 2019-03-14 20:28:01 +01:00
Remko Tronçon
621d77d622 Use 1 byte for counted string length 2019-03-14 18:10:08 +01:00
Remko Tronçon
c15e5549e8 Fix EVALUATE 2019-03-14 17:15:34 +01:00
Remko Tronçon
ac2517248c Implement WORD 2019-03-14 15:35:02 +01:00
Remko Tronçon
172312b595 Implement \ as a real word 2019-03-14 12:11:25 +01:00
Remko Tronçon
bb657661aa Fix +LOOP with negative increment 2019-03-14 11:54:20 +01:00
Remko Tronçon
a0f216f79b Fix bug in LEAVE 2019-03-14 09:49:17 +01:00
Remko Tronçon
16b04d6bc1 Fix bug in LEAVE 2019-03-14 07:59:08 +01:00
Remko Tronçon
870014d3b9 More tests 2019-03-13 22:35:19 +01:00
Remko Tronçon
bb9e6196ff Implement M* + UM* 2019-03-13 21:24:40 +01:00
Remko Tronçon
186ab96276 Implement S>D 2019-03-13 20:01:17 +01:00
Remko Tronçon
92e3588a6e Update test suite. 2019-03-13 18:41:05 +01:00
Remko Tronçon
e41247b2a7 Implement REFILL + make >IN handling compliant 2019-03-13 17:47:35 +01:00
Remko Tronçon
c4817ebcb9 Add standard testsuite placeholder 2019-03-13 17:09:01 +01:00
Remko Tronçon
22e22cb603 Tweak README 2019-03-12 22:12:29 +01:00
Remko Tronçon
c507d50f19 Order assembled output 2019-03-12 22:05:29 +01:00
Remko Tronçon
0248e87dc3 Cleanup 2019-03-12 21:16:43 +01:00
Remko Tronçon
305c26fe1c Add test-watch target 2019-03-12 21:05:34 +01:00
jsDelivr Bot
17c85e92a0 Replace RawGit with jsDelivr 2019-03-12 20:53:20 +01:00
Remko Tronçon
0417afefe6 Add error messages 2019-03-12 20:15:01 +01:00
Remko Tronçon
03b045d943 Implement ABORT" 2019-03-12 16:05:19 +01:00
Remko Tronçon
7920432071 Implement ABORT + QUIT 2019-03-12 14:26:38 +01:00
Remko Tronçon
2e344baf31 Implement KEY + ACCEPT 2019-03-12 11:14:13 +01:00
Remko Tronçon
06dd7c12e7 shell.key->shell.getc 2019-03-12 09:04:39 +01:00
Remko Tronçon
e6a95d2aa9 Remove vulnerable lodash dependency 2019-03-11 17:38:25 +01:00
Remko Tronçon
e49accd12c Add assembled file 2019-03-11 16:34:15 +01:00
Remko Tronçon
7bac62308a Remove unused export 2019-03-11 16:25:19 +01:00
Remko Tronçon
166d82d899 Remove unused code 2019-03-11 15:57:32 +01:00
Remko Tronçon
775c714904 Remove stray ; 2019-03-11 15:20:58 +01:00
Remko Tronçon
4af07fe635 KEY isn't what some other forths made me think it was 2019-03-11 14:24:50 +01:00
Remko Tronçon
779945c306 Implement [CHAR] 2019-03-11 14:01:46 +01:00
Remko Tronçon
f17dac3e09 Implement ['] 2019-03-11 14:01:42 +01:00
Remko Tronçon
5c1c33d63d Implement POSTPONE 2019-03-11 11:18:29 +01:00
Remko Tronçon
82e0839b8c Add IMMEDIATE test 2019-03-11 10:52:04 +01:00
Remko Tronçon
b23bf78a45 Implement CONSTANT & VALUE in terms of CREATE DOES> 2019-03-10 16:59:40 +01:00
Remko Tronçon
2a7322cfa5 Implement DOES> 2019-03-10 16:46:51 +01:00
Remko Tronçon
f7a1ab2aa2 Prepare for DOES> 2019-03-10 14:29:25 +01:00
Remko Tronçon
17504b31e4 Add test for CREATE 2019-03-10 14:29:25 +01:00
Remko Tronçon
eb97d29d90 Add command-line unit test runner 2019-03-10 14:29:25 +01:00
Remko Tronçon
bbe5a4eec3 Add documentation 2019-03-09 22:03:13 +01:00
Remko Tronçon
05323af20a Fix CREATE 2019-03-09 22:03:13 +01:00
Remko Tronçon
e824778981 Add some code comments 2019-03-09 21:04:17 +01:00
Remko Tronçon
d536309494 Update quadruple.wat. 2019-03-09 20:17:16 +01:00
Remko Tronçon
ddcd38c0fb Fix lint 2019-03-09 20:13:00 +01:00
Remko Tronçon
9f927fb45a Upgrade dependencies 2019-03-09 13:48:22 +01:00
Remko Tronçon
ac79104e20 waforth2c: Remove binaryen dependency.
Requires wabt > 1.0.10
2019-03-09 13:48:22 +01:00
Remko Tronçon
a03f8a5fbc waforth2c: Simplify build system 2019-03-09 13:48:22 +01:00