Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alecthomas/lunatic-go
Lunatic bindings for (Tiny)Go
https://github.com/alecthomas/lunatic-go
actor erlang golang lunatic tinygo
Last synced: 16 days ago
JSON representation
Lunatic bindings for (Tiny)Go
- Host: GitHub
- URL: https://github.com/alecthomas/lunatic-go
- Owner: alecthomas
- Created: 2022-09-08T12:38:01.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-02T17:52:41.000Z (12 months ago)
- Last Synced: 2024-10-10T16:06:34.973Z (about 1 month ago)
- Topics: actor, erlang, golang, lunatic, tinygo
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TinyGo bindings for [Lunatic](https://lunatic.solutions/)
## Progress
- [x] Raw bindings
- [ ] Semantic layer
- [x] Version
- [ ] Error
- [ ] Message
- [ ] Networking
- [ ] Process
- [ ] Registry
- [ ] Timer
- [ ] Distributed## Developing
All of the tools needed to develop on this project are included in this repo
using [Hermit](https://cashapp.github.io/hermit). The easiest way to get started
is to activate the project and type `make`, which should build and run the
`version` example:```
$ . ./bin/activate-hermit
$ make
tinygo build --no-debug -o version.wasm -target=wasi -wasm-abi=generic ./cmd/version
lunatic version.wasm
tinygo 0.25.0 wasm linux
Lunatic 0.10.0
```Raw WASM bindings generated by [wit-go](https://github.com/alecthomas/wit-go)
from `wit/*.wit` are in `internal/bindings/`. The
[WIT](https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md)
files themselves are originally from this [pull
request](https://github.com/lunatic-solutions/lunatic-rs/pull/31).