https://grain-lang.org/ && https://github.com/grain-lang/grain
Grain is in 0.6 version and not stable yet as of March 2024
Notes:
- It compiles to Web Assembly
- It has a built-in PriorityQueue datatype in the standard library
- If you need raw speed, you can build the native compiler from source https://grain-lang.org/docs/getting_grain#Building-Grain-from-Source
- You can define your own operators
Requirements: Docker or Grain = 0.6.0
(Strict version because it's not stable yet)
clone my repository
git clone [email protected]:Neal-C/hello-grain.git
cd hello-grain
build and run with Docker
docker build -t neal-c-grain:latest .
docker run --name neal-c-grain neal-c-grain:latest
Requirements : grain = 0.6
See docs: https://grain-lang.org/docs/getting_grain
and install grain locally on your machine
git clone [email protected]:Neal-C/hello-grain.git
cd hello-grain
grain compile hello.gr
grain run hello.gr.wasm