Skip to content
/ mu Public

Minimally design scripting language for use on systems with limited resources.

License

Notifications You must be signed in to change notification settings

geky/mu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mu is a lightweight scripting language designed to be easily embeddable. With simplicity as its core goal, Mu boasts a minimal language backed by a small, but powerful, builtin library.

# A quicksort implementation
fn qsort(data)                                       
    let [x, ..data] = tbl(data)                      
    if (len(data) == 0)                              
        return [x]                                   
                                                     
    let small = filter(fn(y) -> y <  x, data)        
    let large = filter(fn(y) -> y >= x, data)        
    return qsort(small) ++ [x] ++ qsort(large)       

You can find out more about the language here

About

Minimally design scripting language for use on systems with limited resources.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published