Important
Before installing the language, install jdk.
greeting in Ixion:
use <prelude>
def main(){
const langs = [
"Hello, world!",
"¡Hola Mundo!",
"Γειά σου Κόσμε!",
"Привет, мир!",
"こんにちは世界!"
]
println(langs)
}
pattern matching:
use <prelude>
type my_type = int | float
pub def main(){
print_type(10)
print_type(10.0)
}
def print_type(list : my_type){
match list with
| int i => println("value " + i + " is integer")
| float f => println("value " + f + " is float")
}
We will review and help with all reasonable pull requests as long as the guidelines below are met.
- The license header must be applied to all java source code files.
- IDE or system-related files should be added to the .gitignore, never committed in pull requests.
- In general, check existing code to make sure your code matches relatively close to the code already in the project.
- Favour readability over compactness.
- If you need help, check out the Google Java Style Guide for a reference.