ZillaZ / apollo

Official repository for the Apollo Programming Language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Apollo programming language

Still in early development.

This is just a personal project! Do not expect anything at production level

Apollo uses the GCC backend to generate bytecode. You need to have libgccjit on your machine to use the language.

Today, Apollo supports:

Primitives

i1 i2 i4 i8
f4
string
char
bool

Variables

let name = "Lucas"

Structs

struct Person {
  name: string
  age: i4
}

Arrays

let array = array(i4)[1 2 3]

Todo

  • Comptime memory management
  • Parallel computing support (Threads and Forks)
  • Sugar syntax for type casting
  • Improve operations parsing
  • Implement loops
  • Refactor the entire codebase (it is pretty ugly...)

About

Official repository for the Apollo Programming Language


Languages

Language:Rust 95.8%Language:Emacs Lisp 2.7%Language:Nix 1.6%