Skip to content

ajkachnic/ion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ion

ion is tiny expression-based scripting language. It's small in both codebase size and syntax, but not in capability.

usage

# open a repl
go run bin/main.go

# run a file
go run bin/main.go <file>

the language

fib := n -> {
  if n > 1 {
    return fib(n - 1) + fib(n - 2)
  } else {
    return n
  }
}

for i in [ 1, 2, 3, 4, 5 ] {
  print(i * i)
}

inspiration

About

tiny expression-based scripting language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published