ampc 0.2.0-alpha

Compiler for the Amp language
ampc-0.2.0-alpha is not a library.
Visit the last successful build: ampc-0.5.0-alpha

Overview

:warning: For legal reasons, I must warn you that the bold claims in this section aren't necessarily true, yet.

Amp focuses on:

  • Performance :zap: Amp's performance rivals that of C and C++.
  • Simplicity :art: Amp focuses on less, but more powerful features.
  • Speedy compilation :motorcycle: Amp's simple design enables competitive compile times.
import "Std";

export func Main() {
    Std.Println("Hello, world!");
}

Contributing

Amp is mostly a one man project for now, but if you'd like to help with anything, feel free to browse through the open issues (I use them to keep track of what I need to do). Anything marked as a "proposal" is a language design decision open for conversation until I decide what to do with it. Otherwise, feel free to ask about an issue if you have any questions.

License

Amp is licensed under the MIT license.

Getting Started

You can install Amp from a prebuilt binary for your system or you can use Cargo to install it:

cargo install ampc

amp -V

Building an executable with Amp requires an external linker (as of right now, it's hardcoded as GCC, meaning GCC is required to build an executable):

amp test.amp -o test

./test # => Hello, world!