Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luno-lang/luno
A small toy language with syntax heavily inspired by Lua that transpiles to JS.
https://github.com/luno-lang/luno
programming-language
Last synced: 3 months ago
JSON representation
A small toy language with syntax heavily inspired by Lua that transpiles to JS.
- Host: GitHub
- URL: https://github.com/luno-lang/luno
- Owner: luno-lang
- License: mit
- Created: 2022-11-09T23:28:28.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-16T05:06:52.000Z (over 1 year ago)
- Last Synced: 2024-05-31T11:35:43.685Z (6 months ago)
- Topics: programming-language
- Language: OCaml
- Homepage:
- Size: 70.3 KB
- Stars: 19
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Luno 🌙
A small toy language with syntax heavily inspired by Lua.## Example
```
fn square(n int) int
ret n * n
endsquare(5) # 5*5 = 25
square(6) # 6*6 = 36
# ...
```## Building
The bootstrap compiler is written in Ocaml and requires a UNIX environment to build. If you are on Windows use [WSL](https://learn.microsoft.com/en-us/windows/wsl/install) instead.### Requirements:
Provided you have the above you can run the compiler using the following:
```
dune exec luno
```