ampc 0.3.0-alpha

Compiler for the Amp language
ampc-0.3.0-alpha is not a library.
Visit the last successful build: ampc-0.5.0-alpha
Platform Support
x86_64-pc-windows :white_check_mark:
x86_64-unknown-linux :warning: untested
x86_64-unknown-darwin :warning: untested
aarch64-unknown-linux :warning: untested

Overview

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

:exclamation: Also, Amp isn't really ready for serious use yet. It's not well tested and there's probably some undetected bugs in the compiler. With that in mind, have fun! :)

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

Since Amp is vastly under-documented, feel free to create an issue if you have any questions about the project. If you are looking for something to contribute to the project, check out the open issues. Thanks for taking the time to contribute! :tada:

We follow the Contributor Covenant code of conduct (tl;dr: have some basic common sense and be respectful).

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!