openfirmware
waforth
| openfirmware | waforth | |
|---|---|---|
| 4 | 11 | |
| 78 | 587 | |
| - | 0.7% | |
| 0.0 | 5.1 | |
| about 4 years ago | 11 months ago | |
| Forth | WebAssembly | |
| - | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
openfirmware
- WAForth (WASM-based ANS Forth) supports interactive "notebooks" in VSCode
- Peter Forth's Toxic Behavior
-
Convert curl commands to code in several languages
>I find, only pointfree notation has some beauty to it that makes reading code sweet again.
I haven't written FORTH code in ages, but I still enjoy reading well written FORTH code for its pure literary pleasure!
https://github.com/MitchBradley/openfirmware/blob/master/for...
-
XiangShan open-source 64-bit RISC-V processor to rival Arm Cortex-A76
As a SPARC and PowerPC guy, of course I wish the foundation would settle on IEEE-1275 (a.k.a. OpenFirmware) as the default firmware/bootloader, but I'm not holding my breath. Full implementation available, it just needs the Forth interpreter ported to RISC-V and maybe some additional drivers.
waforth
- WAForth: Forth Interpreter+Compiler for WebAssembly
-
Compiling Scheme to WebAssembly
If you're open to Forth,
https://github.com/remko/waforth
> WAForth is entirely written in (raw) WebAssembly, and the compiler generates WebAssembly code on the fly.
https://github.com/remko/waforth/blob/master/src/waforth.wat
- WAForth – Forth interpreter and compiler for WebAssembly
- Ask HN: Languages Designed for WASM?
-
WASM Is the New CGI
wasm has no way to remap writable memory as executable, but you can absolutely call back into javascript to instantiate and link a new executable module, like https://github.com/remko/waforth does.
-
Show HN: TinyWasm – A tiny WebAssembly Runtime written in Rust
Super nice project! I also spent the last month writing a WASM interpreter ( https://github.com/rrampage/wart ) using Java 21. I started it as an excuse to try out the pattern matching in switch / sealed classes in Java. It kind of snowballed in scope and can now run Doom and Waforth ( https://github.com/remko/waforth )! Have not yet tried compiling it to WASM and running it as a meta-circular interpreter.
-
Bunch of questions about forth
Concerning the point 8. There is an online Forth system demo Thurtle (in the browser) with turtle graphics, which is based on WAForth.
-
A Dynamic Forth Compiler for WebAssembly
There's a note on the page from 2022-08-19, that a lot has been added to it. It also links to the github page[1] for the up-to-date changes.
I am a Lisp, April, APL/J/BQE, and Forth[2] aficionado. I did some file munging programs in Factor back in 2012 at my job to sort through theater attendance logs in Word to compile statistics.
[1] https://github.com/remko/waforth
[2] https://factorcode.org/
- WAForth (WASM-based ANS Forth) supports interactive "notebooks" in VSCode
What are some alternatives?
curlconverter - Transpile curl commands into Python, JavaScript and 27 other languages
xxhash-wasm - A WebAssembly implementation of xxHash
cforth - Mitch Bradley's CForth implementation
wasker - WebAssembly AoT compiler for your favorite Operating System
rosso - Data parsers and formatters