/Passambler

The Passambler programming language

Primary LanguageJavaMIT LicenseMIT

Passambler Join the chat at https://gitter.im/raoulvdberge/Passambler

Passambler is a simple general purpose programming language.

You can find the documentation here.

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")
    } elif x % 3 == 0 {
        writeln("Fizz")
    } elif 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 in the target directory.

Java 8 is required to build and run the language.

Contributing

Contributions are always welcome! You can contribute to Passambler in following ways:

  • Reporting and/or fixing bugs
  • Implementing new features
  • Comment on issues, we need your voice!

Questions

If you have a question about the language, feel free to open an issue.

License

MIT license