Home Blog Docs Download Projects

Apollo Programming Language



Apollo's Mission


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.




Examples


Hello World

#[entry] fn main() -> Unit { println "Hello World!"; // > Hello World! }

Bash Echo Oneliner

#[entry] fn echo() -> Unit { println prompt "> "; // echo in 1 line! }

Extending existing structures

extend Char { public fn isMathSymbol() -> bool { return self == '+' || self == '-' || self == '*' || self == '/' || self == '%' ; } }