Commit graph

197 commits

Author SHA1 Message Date
Remko Tronçon
23b41a2c7f build: make index file valid html
This avoids the need of a content type in Chrome.
2022-04-23 23:20:52 +02:00
Remko Tronçon
b9bcce1026 build: return content-type in static server
This makes sure the index works on Chrome.
2022-04-23 23:18:52 +02:00
Remko Tronçon
610006c63e remove tos import in compiled words
This was there in case we wanted to use mutable globals for the TOS.
Since we now use a local TOS, this is no longer useful.
2022-04-23 23:13:17 +02:00
Remko Tronçon
5023ea7b2f thread tos as local through all words
This gives a 20% execution time improvement.
2022-04-23 22:45:55 +02:00
Remko Tronçon
d78f6ff81f fix hexdump output 2022-04-23 12:09:28 +02:00
Remko Tronçon
0befe565ab rename module 2022-04-23 11:10:44 +02:00
Remko Tronçon
da3ad27c43 Revert "make stack grow downward"
Reduces binary, but decreases performance, and only makes things a little bit simpler.
2022-04-22 13:57:48 +02:00
Remko Tronçon
41c6aa5d6f make stack grow downward 2022-04-22 12:15:02 +02:00
Remko Tronçon
6dd4f644f0 tests: use stackValues everywhere 2022-04-22 08:20:28 +02:00
Remko Tronçon
39dc0d422a remove toplevel module 2022-04-22 08:20:28 +02:00
Remko Tronçon
2f1e0017d4 build: add debug flag for wat2wasm 2022-04-22 08:20:28 +02:00
Remko Tronçon
e7cf4909fa shell: display build date 2022-04-18 14:41:52 +02:00
Remko Tronçon
ea97e51644 shell: styling tweaks 2022-04-18 14:20:41 +02:00
Remko Tronçon
48dfdd00aa shell: avoid scroll on space 2022-04-18 14:05:02 +02:00
Remko Tronçon
4fe9471c66 shell: scroll cursor into view 2022-04-18 13:31:42 +02:00
Remko Tronçon
9a400f17c9 shell: bring up keyboard on iOS 2022-04-18 13:26:48 +02:00
Remko Tronçon
8fd40215c6 implement WORDS
Closes #25
2022-04-17 21:14:07 +02:00
Remko Tronçon
7f08fd2234 update readme 2022-04-17 21:14:07 +02:00
Remko Tronçon
c4ad065df8 doc: update image of debugger view 2022-04-17 18:22:36 +02:00
Remko Tronçon
05e341c865 add comments 2022-04-17 17:19:15 +02:00
Remko Tronçon
0f0335568b fix backspace in shell 2022-04-17 17:12:32 +02:00
Remko Tronçon
ef0a360366 move waforth2c to src/ 2022-04-17 17:08:52 +02:00
Remko Tronçon
31bf2734b8 add failing standard testsuite test to unit tests
Temporarily disabled
2022-04-17 16:06:23 +02:00
Remko Tronçon
739556cec0 log error message when generated module fails to load 2022-04-17 16:04:10 +02:00
Remko Tronçon
9c647ef565 simplify compiled control flow instructions 2022-04-17 15:47:06 +02:00
Remko Tronçon
ef01a303ca fix dev server crash on file not found 2022-04-17 15:46:42 +02:00
Remko Tronçon
74bb57b72e simplify some loops 2022-04-17 13:59:01 +02:00
Remko Tronçon
7b62970b19 remove unnecessary branch 2022-04-17 13:40:47 +02:00
Remko Tronçon
1606979349 use forth loader for web build 2022-04-17 10:00:15 +02:00
Remko Tronçon
c39724348e reorganize directory structure 2022-04-17 09:30:19 +02:00
Remko Tronçon
2a7240c043 move wrapper & sieve to src/ 2022-04-15 15:39:59 +02:00
Remko Tronçon
9d94df431f use temporary file for wat2wasm 2022-04-15 15:33:56 +02:00
Remko Tronçon
7e2cf5dad5 move tools to scripts 2022-04-15 15:33:56 +02:00
Remko Tronçon
c64957e41e fix lint error 2022-04-14 23:00:45 +02:00
Remko Tronçon
5aa2485cd4 new shell tweaks 2022-04-14 22:40:57 +02:00
Remko Tronçon
aec82f987b ignore sieve emit 2022-04-14 22:33:22 +02:00
Remko Tronçon
e957c69723 remove unused b64 param 2022-04-14 22:21:35 +02:00
Remko Tronçon
c8fd06464e handle copy/paste 2022-04-14 22:15:37 +02:00
Remko Tronçon
533de49cd5 simplify base64 handling 2022-04-14 21:46:06 +02:00
Remko Tronçon
806ebd742c replace console with own implementation 2022-04-14 21:36:44 +02:00
Remko Tronçon
90873041c5 fix lint error 2022-04-14 18:20:09 +02:00
Remko Tronçon
387f339780 use esbuild for tests 2022-04-14 16:53:57 +02:00
Remko Tronçon
10bfbf3876 remove commander dependency 2022-04-13 22:31:54 +02:00
Remko Tronçon
89e0ef71d8 remove promise-polyfill dependency 2022-04-13 22:23:30 +02:00
Remko Tronçon
7065291ff8 remove node-static dependency 2022-04-13 22:20:57 +02:00
Remko Tronçon
b7af8f6860 remove Travis file 2022-04-13 21:11:53 +02:00
Remko Tronçon
6b9de10002 webpack -> esbuild 2022-04-13 21:09:18 +02:00
dependabot[bot]
e50fbe7e1c Bump tar from 4.4.4 to 4.4.19
Bumps [tar](https://github.com/npm/node-tar) from 4.4.4 to 4.4.19.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.4...v4.4.19)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 14:14:27 +02:00
dependabot[bot]
2179637872 Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 14:14:20 +02:00
dependabot[bot]
1eb4db4e34
Bump url-parse from 1.5.1 to 1.5.3 (#36)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-06 14:14:00 +02:00