Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.
/ amp_archive Public archive

The Amp programming language: a language designed for building high performance systems.

License

Notifications You must be signed in to change notification settings

amp-lang/amp_archive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A language designed for building high performance systems.

Pausing development for another project!

Platform Support
x86_64-pc-windows
x86_64-unknown-linux ⚠️ untested
x86_64-unknown-darwin ⚠️ untested
aarch64-unknown-linux ⚠️ untested

Overview

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

❗ 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 ⚡ Amp's performance rivals that of C and C++.
  • Simplicity 🎨 Amp focuses on less, but more powerful features.
  • Speedy compilation 🏍️ 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! 🎉

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!