AutoIt+
  • Overview
  • Getting started
  • The language
    • Basic
    • Grammar
      • Expressions
      • Statements
      • Declarations
    • Operators
    • Variables
    • Types & values
      • Null
      • Booleans
      • Numbers
      • Strings
      • Functions
      • Classes
      • Pointers
    • Control flow
      • If statement
      • For loop
      • While loop
      • Break & continue
      • Error handling
    • Collections
      • Array
        • APIs
        • Implementation
      • Map
        • APIs
        • Implementation
    • Modules
    • Exceptions
  • Built-in modules
    • C
      • APIs
      • Constants
    • Math
      • APIs
      • Constants
    • Task
      • Types
      • APIs
    • Global
  • The aup
    • Compiler
    • Runtime
    • Options
Powered by GitBook
On this page
  • Installation
  • Build from source
  • Pre-built executable
  • Hello world

Was this helpful?

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

Just replace g++ by clang++ to build with Clang.

# 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!

PreviousOverviewNextBasic

Last updated 4 years ago

Was this helpful?