Commit graph

73 commits

Author SHA1 Message Date
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
Remko Tronçon
f42c172335 Replace 'npx' with 'yarn exec' 2019-03-09 13:48:22 +01:00
Remko Tronçon
d42b6d578c waforth2c: Improve table initialization 2019-03-09 13:48:22 +01:00
Remko Tronçon
93e3591205 Add experimental Forth->C compiler 2019-03-09 13:48:22 +01:00
Remko Tronçon
6a3c1d96b4 Export state symbols 2019-03-08 22:05:34 +01:00
Remko Tronçon
b23d7ec689 Import better initial table size 2019-03-08 21:59:26 +01:00
Remko Tronçon
ae0f0c6347 Don't import table index offset 2019-03-08 21:52:14 +01:00
Remko Tronçon
02a471d67c Add license 2018-07-31 09:17:08 +02:00
Remko Tronçon
5b920e7620 README tweak 2018-06-09 09:07:08 +02:00
Remko Tronçon
537f2b2b98 Enable sieve tests 2018-06-03 21:49:59 +02:00
Remko Tronçon
6ce0cf86bc Don't use unnecessary parameter for non-data words 2018-06-03 21:40:03 +02:00
Remko Tronçon
1c9d8182e5 Simplify interpreter 2018-06-03 20:43:16 +02:00
Remko Tronçon
d481a1cdb1 Implement UNUSED 2018-06-03 20:08:03 +02:00
Remko Tronçon
f038f31ba0 Implement SOURCE-ID 2018-06-03 20:05:14 +02:00
Remko Tronçon
255f963ae7 Implement TRUE & FALSE 2018-06-03 20:00:31 +02:00
Remko Tronçon
8097b7575c Support BASE in number parser.
Resolves #7
2018-06-03 19:56:09 +02:00
Remko Tronçon
328f362982 Implement more words 2018-06-03 18:35:28 +02:00
Remko Tronçon
56e3750344 Implement EVALUATE 2018-06-03 16:49:36 +02:00
Remko Tronçon
f6293c9d3d Refactor I/O again 2018-06-03 15:17:38 +02:00
Remko Tronçon
5fb2a671ca Implement SOURCE 2018-06-03 09:54:35 +02:00
Remko Tronçon
ef0eb1209b Implement >IN 2018-06-03 09:51:57 +02:00
Remko Tronçon
692e0ea288 Refactor I/O 2018-06-03 09:40:23 +02:00
Remko Tronçon
c5453432f3 Implement */MOD 2018-06-01 23:05:28 +02:00
Remko Tronçon
8140811ead Implement */ 2018-06-01 22:49:16 +02:00