wasm-forth - A Forth implementation compiling to WebAssembly.

  •        186

A Forth implementation compiling to WebAssembly. It includes an ANS Forth standard environment containing all the CORE words. The system has a fixed amount of memory available, currently 128kb.

https://github.com/stefano/wasm-forth

Tags
Implementation
License
Platform

   




Related Projects

awesome-wasm - 😎 Curated list of awesome things regarding WebAssembly (wasm) ecosystem.

  •    

Collection of awesome things regarding WebAssembly (wasm) ecosystem. Please read the contribution guidelines if you want to contribute.

wasm-pack - 📦✨ your favorite rust -> wasm workflow tool!

  •    Rust

This tool seeks to be a one-stop shop for building and working with rust- generated WebAssembly that you would like to interop with JavaScript, in the browser or with Node.js. wasm-pack helps you build and publish rust-generated WebAssembly to the npm registry to be used alongside any other javascript package in workflows that you already use, such as webpack or greenkeeper. We generate a wasm-pack.log file if wasm-pack errors on you, and you can customize the log verbosity using the verbosity flag.

SP-Forth - ANS Forth compiler

  •    

ANS Forth for Win32 and Linux/x86 (used to compile the following SF projects: acWEB, acFTP, acFreeProxy, acSMTP, Forth-Script)

FlashForth: for PIC and Atmega

  •    

FlashForth is a standalone Forth system for the Microchip PIC 18, 24, 30, 33 and the Atmel Atmega series of microcontrollers. A Forth system with interpreter, compiler, assembler and multitasker is provided.

wasm-and-rust - WebAssembly and Rust: A Web Love Story

  •    

You can check out about:config (Firefox) or chrome://flags/ (Chrome) and make sure wasm related things are enabled. WebAssembly or WASM is a low-level bytecode format for in-browser client-side scripting, evolved from JavaScript. Its initial aim is to support compilation from C and C++, though other source languages such as Rust are also supported.


binaryen - Compiler infrastructure and toolchain library for WebAssembly, in C++

  •    WebAssembly

Consult the contributing instructions if you're interested in participating. As a result, you might notice that round-trip conversions (wasm => Binaryen IR => wasm) change code a little in some corner cases.

Dragon FORTH for PalmOS

  •    

This is fast 32bit FORTH system for PalmOS 2.x/6.x having the following features: Programming directly on PalmOS device, Full ANS 94 compatibility, Fast 32bit and 64bit arithmetic, Multitasking kernel, Supporting PalmOS from 2.0 to 6.0

froth

  •    

froth is a Forth-like compiler written in Ansi C, and therefore fully portable (only require glib). With Froth, is provided also a Forth implementation for DSP (tms320c50 at this time). Froth should then be mainly considered as an interactive forth cross

Mako - A simple virtual game console

  •    Forth

Mako is a simple stack-based virtual game console, designed to be as simple as possible to implement. Maker is a compiler for a Forth-like language that targets the Mako VM. Mako has two stacks- a parameter stack and a return stack. Most MakoVM instructions manipulate the top elements of the parameter stack. Instructions are normally a single word (signed 32-bit integer), but some (like JUMP and CALL) are followed by a second word which provides an argument. The Mako memory layout is controlled by a number of memory-mapped registers starting in the lowest address- 0. In addition to the program counter and stack pointers, Mako has registers which control a pixel-scrollable 31x41 grid of 8x8 background tiles, a set of 256 variable-size sprites, a random number generator, optional character I/O facilities for debugging and an 8-bit audio output port. Some implementations additionally provide simple support for filesystem I/O.

webassemblyjs - Toolchain for WebAssembly

  •    Javascript

See WebAssembly.js.org for more information. Some packages rely on Node's Buffer which isn't available in other environments. We recommend you to add https://github.com/feross/buffer in your building process.

assemblyscript - A TypeScript to WebAssembly compiler 🚀

  •    WebAssembly

AssemblyScript compiles strictly typed TypeScript (basically JavaScript with types) to WebAssembly using Binaryen. It generates lean and mean WebAssembly modules while being just an npm install away.

wasm - Haskell compiler infastructure for WebAssembly

  •    WebAssembly

A WebAssembly AST, parser, and assembler in Haskell for use in functional compiler backends targeting WebAssembly. Warning, still a big work in progress.

wagon - wagon, a WebAssembly-based Go interpreter, for Go.

  •    Go

wagon is a WebAssembly-based interpreter in Go, for Go. NOTE: wagon requires Go >= 1.9.x.

schism - A self-hosting Scheme to WebAssembly compiler

  •    Scheme

Schism is an experimental self-hosting compiler from a subset of R6RS Scheme to WebAssembly. This is not an officially supported Google product.

lucet - Lucet, the Sandboxing WebAssembly Compiler.

  •    Rust

Lucet is a native WebAssembly compiler and runtime. It is designed to safely execute untrusted WebAssembly programs inside your application. Check out our announcement post on the Fastly blog.

mono-wasm

  •    Javascript

This project is a proof-of-concept aiming at building C# applications into WebAssembly, by using Mono and compiling/linking everything statically into one .wasm file that can be easily delivered to browsers. The process does not use Emscripten (or Binaryen) but instead uses the experimental WebAssembly backend of LLVM with clang and lld to generate the final .wasm code. The goal is to use as few dependencies as possible. At the moment the only dependencies are LLVM, clang and lld trunk.

Forth Script - web scripting engine

  •    

Forth Script is a server-side web scripting engine based on FORTH language. It may work as CGI-application under any web-server and lets you create dynamic web-pages using Forth language, HTML patterns and database's data. Example: http://www.delosoft.com

bif-c, a near fig-FORTH in C

  •    C

C language implementation of my BIF 6809 variant of fig-FORTH. May be interesting to programmers with C background who want to understand the high-level version of the low-level of FORTH. Those requiring a fully functioning FORTH may look elsewhere.

lang5

  •    Perl

A Perl based interpreter for a language which is a blend of Forth and APL. The power of lang5 stems from its arrays operations in conjunction with the underlying Forth programming paradigm of bottom up programming.

TransForth

  •    

Implementation of Forth in F#. Starting with an interpreter and incrementally moving to bare-metal hardware. Following this blog series: http://blogs.msdn.com/b/ashleyf/archive/tags/transforth/