All Projects → doodlewind → Mocha1995

doodlewind / Mocha1995

☕️ The world's first JavaScript engine written in 1995 by Brendan Eich, now compiled back to JS and WASM!

Programming Languages

javascript
184084 projects - #8 most used programming language
c
50402 projects - #5 most used programming language
js
455 projects

Labels

Projects that are alternatives of or similar to Mocha1995

Go Wasm
WebAssembly binary file parser written in go
Stars: ✭ 121 (-11.03%)
Mutual labels:  wasm
Grain
The Grain compiler toolchain and CLI. Home of the modern web staple. 🌾
Stars: ✭ 2,199 (+1516.91%)
Mutual labels:  wasm
Retrosuite3d
Some image effects and shaders to achieve a retro look in Unity
Stars: ✭ 132 (-2.94%)
Mutual labels:  retro
Wasm Snip
`wasm-snip` replaces a WebAssembly function's body with an `unreachable`
Stars: ✭ 123 (-9.56%)
Mutual labels:  wasm
Wwiv
WWIV BBS Software v5
Stars: ✭ 125 (-8.09%)
Mutual labels:  retro
Percy
Build frontend browser apps with Rust + WebAssembly. Supports server side rendering.
Stars: ✭ 1,856 (+1264.71%)
Mutual labels:  wasm
Gbemu
WebAssembly based Gameboy Emulator
Stars: ✭ 120 (-11.76%)
Mutual labels:  wasm
Wasmex
Execute WebAssembly / WASM from Elixir
Stars: ✭ 136 (+0%)
Mutual labels:  wasm
Drqn Tensorflow
Deep recurrent Q Learning using Tensorflow, openai/gym and openai/retro
Stars: ✭ 127 (-6.62%)
Mutual labels:  retro
Made With Webassembly
A showcase of awesome production applications, side projects, and use cases made with WebAssembly (Wasm). 👷
Stars: ✭ 132 (-2.94%)
Mutual labels:  wasm
Quickjs Emscripten
Javascript/Typescript bindings for QuickJS, a modern Javascript interpreter written in C by Fabrice Bellard.
Stars: ✭ 124 (-8.82%)
Mutual labels:  wasm
Stork
🔎 Impossibly fast web search, made for static sites.
Stars: ✭ 1,983 (+1358.09%)
Mutual labels:  wasm
Spasm
Write single page applications in D that compile to webassembly
Stars: ✭ 129 (-5.15%)
Mutual labels:  wasm
Rust Nes Emulator
NES Emulator written in Rust
Stars: ✭ 122 (-10.29%)
Mutual labels:  wasm
V86
x86 virtualization in your browser, recompiling x86 to wasm on the fly
Stars: ✭ 12,765 (+9286.03%)
Mutual labels:  wasm
Blazorcrud
Demo application built with the Blazor client-side hosting model (WebAssembly) and .NET Core REST APIs secured by a JWT service.
Stars: ✭ 121 (-11.03%)
Mutual labels:  wasm
Krustlet
Kubernetes Rust Kubelet
Stars: ✭ 2,391 (+1658.09%)
Mutual labels:  wasm
Blazormaterial
Blazor components implementing Google's Material components for web - https://material.io/components/web
Stars: ✭ 136 (+0%)
Mutual labels:  wasm
Filament
Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
Stars: ✭ 13,215 (+9616.91%)
Mutual labels:  wasm
Skia Wasm Port
Port of the Skia drawing library to wasm, for use in javascript (node & browser)
Stars: ✭ 131 (-3.68%)
Mutual labels:  wasm

Mocha 1995

The original Mocha JavaScript engine, ported from Netscape 3.0.2 browser.

mocha-wasm

History

"Mocha" was the code name of the first JavaScript engine, originally written by Brendan Eich in his 10-day May 1995 sprint. For all of 1995 and most of 1996, Eich was the the only Netscape developer working full-time on the JavaScript engine. Untill August 1996, the Mocha codebase still consisted primarily of code from the 10-day prototype.

In late 1996, Eich "stayed home for two weeks to rewrite Mocha as the codebase that became known as SpiderMonkey", the JavaScript engine later released as open-source and currently maintained by the Mozilla Foundation.

Here is the source code of production version of Mocha, which ships as JavaScript 1.1. This version is released in August 1996 with Netscape 3.0. The release of JavaScript 1.1 marks the completion of the initial definition and development of JavaScript.

Live Playground

Besides native binary, the ported Mocha engine can also be compiled to WASM and JavaScript:

Build

For WASM and JS build, please make sure Emscripten is installed and activated (emcc command is available):

$ source build.sh

# build native
$ compile_native

# build WASM
$ compile_wasm

# build js
$ compile_js

The Web build generates out/mocha_shell_js.html and out/mocha_shell_wasm.html as entries. For the native build, there is a binary runtime available:

$ out/mo_shell tests/ack.mocha

Resources

License

License status of original Netscape source code is unknown yet. This port is intended for historic preservation and educational usage. Don't use in commerial projects!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].