Wednesday, March 16, 2022

Pascal compiler to WebAssembly (in TypeScript); wabt.js

 Making a budget Pascal compiler to WebAssembly | faiz.memdump()

Pascal compiler to WebAssembly

support only a subset of Pascal features and language constructs (hence, “budget”). 

faizilham/budgetpascal: A compiler for a subset of Pascal to WebAssembly @GitHub

AssemblyScript/binaryen.js: A buildbot for browser & Node.js builds of Binaryen, a compiler infrastructure and toolchain library for WebAssembly.

Binaryen is a compiler and toolchain infrastructure library for WebAssembly, written in C++. 


AssemblyScript/wabt.js: A buildbot for wabt.js, a port of WABT to the Web, with TypeScript support.

wabt.js is a port of WABT to the Web, allowing you to manipulate WebAssembly modules using a JavaScript API.


Crafting Interpreters

Crafting Interpreters contains everything you need to implement a full-featured, efficient scripting language.