Skip to content

moxon6/algol-60-webassembly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ALGOL60 -> WebAssembly proof of concept

This a proof of concept for building ALGOL60 to WebAssembly

How it works

  1. Builds and installs the GNU Marst ALGOL60 compiler

  2. Builds an LLVM bitcode version of libalgol

  3. Transpile ALGOL60 source to C using Marst

  4. Build WebAssembly (and helper JS) using emscripten, linking in libalgol bitcode

Testing it out

The whole development environment is contained in the .devContainer directory.

Use Docker and the containers remote extension for VSCode to reliably reproduce this environment

Live Demo

moxon6.github.io/algol-60-webassembly/