Skip to content

Releases: chochain/weForth

v4.2.0

17 Aug 07:01
Compare
Choose a tag to compare

100% C-based eForth, compiled to WASM, integrated with Jolt Physics Engine

Features:

  • 16-bit address, float32 cell
  • eForth VM can run in worker thread
  • export ss, dict, mem to Javascript
  • Javascript call interface - works like printf() in C, transcode Forth string into Javascript Array
    • %d - integer ( n -- )
    • %f - float ( n -- )
    • %x - hex number ( n -- )
    • %s - string ( $s -- ), $s = adr len
    • %p - memory pointer ( a -- )
  • support included to load Forth script from server-side
  • support sync delay/sleep (use XHR timeout, no CPU drain)