mirror of
https://github.com/remko/waforth
synced 2024-12-25 09:59:07 +01:00
update readme
This commit is contained in:
parent
c4ad065df8
commit
7f08fd2234
3 changed files with 18 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
|||
<img src="./doc/logo.svg" height="64">
|
||||
|
||||
# [WAForth](https://el-tramo.be/waforth): Forth Interpreter+Compiler for WebAssembly
|
||||
|
||||
WAForth is a bootstrapping Forth interpreter and dynamic compiler for
|
||||
WAForth is a small bootstrapping Forth interpreter and dynamic compiler for
|
||||
[WebAssembly](https://webassembly.org). You can see it in a demo
|
||||
[here](https://el-tramo.be/waforth/).
|
||||
|
||||
|
@ -12,12 +14,15 @@ WebAssembly [doesn't support JIT
|
|||
yet](https://webassembly.org/docs/future-features/#platform-independent-just-in-time-jit-compilation)),
|
||||
and the I/O primitives to read and write a character to a screen.
|
||||
|
||||
The WebAssembly module containing the interpreter, dynamic compiler, and
|
||||
all built-in words comes down to 12k (6k gzipped), with an extra 7k (3k gzipped) for the JavaScript wrapper and web UI.
|
||||
|
||||
Parts of the implementation were influenced by
|
||||
[jonesforth](http://git.annexia.org/?p=jonesforth.git;a=summary).
|
||||
|
||||
WAForth is still in an experimental stage. It implements most of the [ANS Core
|
||||
Words](http://lars.nocrew.org/dpans/dpans6.htm#6.1), and passes most of the
|
||||
[Forth 200x Test Suite](http://www.forth200x.org/documents/html/testsuite.html)
|
||||
[Forth 200x Test Suite](https://forth-standard.org/standard/testsuite)
|
||||
core word tests.
|
||||
|
||||
|
||||
|
|
11
doc/logo.svg
Normal file
11
doc/logo.svg
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="612" height="612" viewBox="0, 0, 612, 612">
|
||||
<g id="Layer_1">
|
||||
<path d="M376,0 C376,1.08 376,2.16 376,3.3 C376,42.06 344.58,73.47 305.83,73.47 C267.07,73.47 235.66,42.05 235.66,3.3 L235.66,3.3 C235.66,2.16 235.66,1.08 235.66,0 L0,0 L0,612 L612,612 L612,0 z" fill="#654FF0"/>
|
||||
<path d="M415.353,498.941 L375.235,498.941 L375.235,478.882 L395.294,478.882 L395.294,458.824 L355.176,458.824 L355.176,378.588 L455.47,378.588 L455.47,458.824 L435.412,458.824 L435.412,478.882 L415.353,478.882 L415.353,498.941 z" fill="#FFFFFF"/>
|
||||
<path d="M355.176,294.294 L355.176,214.059 L455.47,214.059 L455.47,294.294 L355.176,294.294 z" fill="#FFFFFF"/>
|
||||
<path d="M156.529,294.294 L156.529,214.059 L256.823,214.059 L256.823,294.294 L156.529,294.294 z" fill="#FFFFFF"/>
|
||||
<path d="M156.529,458.823 L156.529,378.588 L256.823,378.588 L256.823,458.823 L156.529,458.823 z" fill="#FFFFFF"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.1 KiB |
BIN
public/favicon.ico
Normal file
BIN
public/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Loading…
Reference in a new issue