Apollo is a general-purpose programming language designed to be multi-platform, with the ability to also compile for entirely new
platforms.
It also intends on making systems development easier with its DSL-favoring features to make your code
easier to read and write!
Apollo utilizes a modified set of rules similar to Rust's borrow-checker to ensure your code is memory safe,
without getting in the way of your code.
#[ entry ]
fn main () -> Unit {
println "Hello World!" ; // > Hello World!
}
#[ entry ]
fn echo () -> Unit {
println prompt "> " ; // echo in 1 line!
}
extend Char {
public fn isMathSymbol () -> bool {
return self == '+' || self == '-' || self == '*' || self == '/' || self == '%' ;
}
}