https://github.com/chfanghr/embryo
Yet another lua compiler/vm
https://github.com/chfanghr/embryo
compiler lua vm
Last synced: 4 months ago
JSON representation
Yet another lua compiler/vm
- Host: GitHub
- URL: https://github.com/chfanghr/embryo
- Owner: chfanghr
- License: mit
- Created: 2020-04-26T03:11:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-08-07T16:28:52.000Z (over 3 years ago)
- Last Synced: 2023-03-04T17:01:09.280Z (almost 3 years ago)
- Topics: compiler, lua, vm
- Language: C++
- Homepage:
- Size: 129 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Embryo: lua compiler and vm, in C++17.
[](https://github.com/nikku/works-on-my-machine)
## For those who want to play around with the project
* This project will run on Linux and macOS only.
* Install [`nix`](https://nixos.org/download.html#download-nix) and [enable flake support](https://nixos.wiki/wiki/Flakes).
* Clone the project and `cd` into the directory.
* Run `nix develop`. Wait for a moment and you will be dropped into a shell, with all the tools you need in the `PATH`.
* Use `treefmt` to format the project. (WIP: add clang format settings).
* Any contribution is welcome!
By the way, If you have [`direnv`](https://direnv.net/) and (optionally) [`nix-direnv`](https://github.com/nix-community/nix-direnv) installed, run the following commands at the *root* of the project so that you will have everything setup whenever you enter the project:
```sh
echo "use flake" >> .envrc; direnv allow
```
## License
MIT, see [LICENSE](LICENSE).