Getting started

Installation

Build from source

Clone the repo.

$ git clone https://github.com/autoitplus/aup.git

And then change directory to it.

$ cd aup

Our implementation is an all-in-one program, includes both compiler and runtime. These commands below will produce an executable file named aup.

# With GCC

$ g++ -w -O3 -o aup src/*.cc

# With Visual Studio

Requires: Visual Studio 2015+ and Windows SDK 7.1+

Open aup.sln with Visual Studio and press Build (on Release mode).

Pre-built executable

Currently, no pre-built binary is supported yet.

Hello world

Create a new file, e.g hello.aup

hello.aup
puts "Hello, world!"

Just run it with aup

$ aup hello.aup
Hello, world!

Last updated

Was this helpful?