Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Rerumu/Wasynth
WebAssembly to Lua translation library and tool
https://github.com/Rerumu/Wasynth
lua luajit luau webassembly
Last synced: about 2 months ago
JSON representation
WebAssembly to Lua translation library and tool
- Host: GitHub
- URL: https://github.com/Rerumu/Wasynth
- Owner: Rerumu
- License: gpl-3.0
- Created: 2021-10-12T05:33:48.000Z (about 3 years ago)
- Default Branch: trunk
- Last Pushed: 2024-03-04T18:13:10.000Z (8 months ago)
- Last Synced: 2024-03-04T19:49:27.722Z (8 months ago)
- Topics: lua, luajit, luau, webassembly
- Language: Rust
- Homepage: https://discord.gg/sgm5YcmgyD
- Size: 606 KB
- Stars: 88
- Watchers: 5
- Forks: 14
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-roblox - Wasynth
- awesome-roblox - Wasynth
README
# Wasynth
This is a WebAssembly translation tool and library for arbitrary languages. It contains several modules for different purposes as outlined below.
* `wasm-ast` handles creating abstract syntax trees which can be used to inspect and act on WebAssembly code.
* `codegen/*` handles individual code generation libraries that consume the syntax trees.
* `dev-test/tests/*` handles testing the code generation against the standard test suite.
* `dev-test/fuzz_targets/*` handles testing syntax tree building through fuzzing of pseudo-random data.## Code Generation
The code generation libraries also offer a simple binary utility for translating to source. These can be built or installed by using the `--path codegen/language --bin wasm2language` Cargo flags.
| | | |
|----------|----------------|-----------------------|
| LuaJIT | :green_circle: | Minimum version 2.1.0 |
| Luau | :green_circle: | |