Passambler
Passambler is a simple general purpose programming language.
Examples
A simple Hello World program looks like this:
writeln("Hello World")
And a FizzBuzz program is written like this:
for x in 0...100 {
if x % 15 == 0 {
writeln("FizzBuzz")
} elseif x % 3 == 0 {
writeln("Fizz")
} elseif x % 5 == 0 {
writeln("Buzz")
}
}
For more examples, see the examples
directory.
If you want to see more examples of how the language works, check out the tests in the tests
directory.
Building
Clone the repository and run Maven.
$ git clone https://github.com/raoulvdberge/Passambler.git
$ cd Passambler
$ mvn install
You will find the jar file and the REPL in the target
directory.
Java 8 is required to build and run the language.
License
MIT license