Skip to content
/ luno Public

A small toy language with syntax heavily inspired by Lua that transpiles to JS.

Notifications You must be signed in to change notification settings

luno-lang/luno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luno 🌙

A small toy language with syntax heavily inspired by Lua.

Example

fn square(n int) int
  ret n * n
end

square(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 instead.

Requirements:

Provided you have the above you can run the compiler using the following:

dune exec luno

About

A small toy language with syntax heavily inspired by Lua that transpiles to JS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages