tmcw / Wah
Licence: epl-1.0
a slightly higher-level language superset of webassembly
Stars: ✭ 147
Programming Languages
clojure
4091 projects
Labels
Projects that are alternatives of or similar to Wah
Jwebassembly
Java bytecode to WebAssembly compiler
Stars: ✭ 426 (+189.8%)
Mutual labels: compiler, webassembly
Assemblyscript
A TypeScript-like language for WebAssembly.
Stars: ✭ 13,152 (+8846.94%)
Mutual labels: compiler, webassembly
Walt
⚡ Walt is a JavaScript-like syntax for WebAssembly text format ⚡
Stars: ✭ 4,513 (+2970.07%)
Mutual labels: compiler, webassembly
Speedy.js
Accelerate JavaScript Applications by Compiling to WebAssembly
Stars: ✭ 300 (+104.08%)
Mutual labels: compiler, webassembly
Evm2wasm
[ORPHANED] Transcompiles EVM code to eWASM
Stars: ✭ 96 (-34.69%)
Mutual labels: compiler, webassembly
Binaryen.js
A buildbot for binaryen.js, a port of Binaryen to the Web, with TypeScript support.
Stars: ✭ 201 (+36.73%)
Mutual labels: compiler, webassembly
Wasm Forth
A Forth implementation compiling to WebAssembly.
Stars: ✭ 92 (-37.41%)
Mutual labels: compiler, webassembly
Viper
[WIP] A Pythonesque language with a design that focuses on efficiency and expressiveness. Compiles to WebAssembly
Stars: ✭ 23 (-84.35%)
Mutual labels: compiler, webassembly
Grain
The Grain compiler toolchain and CLI. Home of the modern web staple. 🌾
Stars: ✭ 2,199 (+1395.92%)
Mutual labels: compiler, webassembly
Customasm
💻 An assembler for custom, user-defined instruction sets! https://hlorenzi.github.io/customasm/web/
Stars: ✭ 211 (+43.54%)
Mutual labels: compiler, webassembly
Bytecoder
Rich Domain Model for JVM Bytecode and Framework to interpret and transpile it.
Stars: ✭ 401 (+172.79%)
Mutual labels: compiler, webassembly
Ppci
A compiler for ARM, X86, MSP430, xtensa and more implemented in pure Python
Stars: ✭ 210 (+42.86%)
Mutual labels: compiler, webassembly
Turboscript
Super charged typed JavaScript dialect for parallel programming which compiles to WebAssembly
Stars: ✭ 487 (+231.29%)
Mutual labels: compiler, webassembly
Wag
WebAssembly compiler implemented in Go
Stars: ✭ 177 (+20.41%)
Mutual labels: compiler, webassembly
Prototype
(deprecated) The journey continues at ASNEXT: https://github.com/AssemblyScript/assemblyscript
Stars: ✭ 2,114 (+1338.1%)
Mutual labels: compiler, webassembly
Ring
Innovative and practical general-purpose multi-paradigm language
Stars: ✭ 716 (+387.07%)
Mutual labels: compiler, webassembly
Asterius
A Haskell to WebAssembly compiler
Stars: ✭ 1,799 (+1123.81%)
Mutual labels: compiler, webassembly
wah
Shortcuts for wasm
wah | wasm |
---|---|
(0 = 1) |
(set_local 0 (i32.const 1)) |
(%$a + %$b) |
(f64.add (get_local $a) (get_local $b)) |
(0 + 1) |
(i32.add (i32.const 0) (i32.const 1)) |
(0.0 + 1.0) |
(f64.add (f64.const 0) (f64.const 1)) |
- Adds infix operators:
*, +, -, /, ==, >, <, >=, <=
- Supports (0 = 1) shortcut for
set_local
- Supports bare numbers that become f64.const if they have a decimal point, and i32.const if they don't.
- Supports type inference by walking up the tree, paying attention to param and local types.
Introduction
Flow
Rationale
Planning
Contributing & open source
This is a PR-only repository: there's no issue tracker.
- To report a bug, open a PR with a failing testcase
- To propose a feature, open a PR with a failing testcase or an initial implementation
I'll be overjoyed to review & merge PRs!
License
Copyright © 2017 Tom MacWright
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.
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].