RoguelikeTutorial2020
frontend.wasm
RoguelikeTutorial2020 | frontend.wasm | |
---|---|---|
1 | 2 | |
31 | 1 | |
- | - | |
3.6 | 0.0 | |
over 3 years ago | almost 2 years ago | |
C++ | C++ | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
RoguelikeTutorial2020
frontend.wasm
-
A C++ Bindings Compiler
Hi everyone!
Some friends and I were unhappy with how much work it was to use C++ from other languages. We were working in the optimizations industry and often had to prototype with python. Eventually, we created a tool to make it easier for C++ to talk to python (by generating pybind11). Later, javascript via WebAssembly was added as well. It's now at a point where it's very easy to just create a C++ library and use it from any of those languages without change. We're planning on slowly adding more languages as needed/requested. The next on the list are Swift and Kotlin.
It does not require any change to your existing public interface, but simply reads it and creates the bindings off of that. It should also work on Linux (Debian), MacOS, and Windows (Visual Studio). Here's a small demo if you'd like to test:
https://github.com/Tolc-Software/tolc-demo
And here are the repositories with the source code:
https://github.com/Tolc-Software/tolc - The executable
https://github.com/Tolc-Software/frontend.py - The python bindings generator
https://github.com/Tolc-Software/frontend.wasm - The WebAssembly bindings generator
https://github.com/Tolc-Software/Parser - The C++ parser
It is dual licensed with AGPL and, if someone wants, a commercial license as well.
Would be cool if someone finds it useful!
- A bindings compiler for C++
What are some alternatives?
wordle-bg - 🇧🇬 Wordle clone in Bulgarian
bergamot-translator - Cross platform C++ library focusing on optimized machine translation on the consumer-grade device.
scavenger2 - A roguelike
chip8 - A simple chip-8 emulator in C++ using SDL2 with desktop & browser support
kagome - Kagome - C++20 implementation of Polkadot Host
tolc - A bindings compiler for C++
tolc-demo - Demo to show a typical usecase for tolc
Rust-HTML-roguelike - Rust WASM + HTML roguelike
avendish - declarative polyamorous cross-system intermedia objects
malison - A little terminal emulation package for Dart.
Parser - Parser for C++ to IR