HaxPro

A scripting language designed to be robust and easy.

Download Now

Easy to use

HaxPro is easy to use, while being powerful.
HaxPro is well documented, so you will never have trouble using it!

Read Docs

Many extensions

HaxPro allows you to create extensions to extend the capabilities
of the language.

Go visit the Marketplace now!

HaxPro is on GitHub

HaxPro is on GitHub, which anyone can edit code or propose changes!
Open-Source is the way!

Open GitHub repo

Getting started

First, download the HaxPro IDE or open your preferred IDE and install the HaxPro CLI.

Create a new project

In the HaxPro IDE, press New.

Or, open your preferred IDE and a command prompt.

In the command prompt, type

hax init {name}

Make sure you replace {name} with the name of your project!

Type to start coding!

Import basic packages

Start by using use: to import some basic packages.

use: haxpro.main
use: haxpro.ui
  • use: haxpro.main imports the basic function and object of the language.

  • use: haxpro.ui imports the built-in UI package of HaxPro. The UI can be created in the UI Editor in the HaxPro IDE.

Then, we will use the write: to print some text to the screen. Note: the write: function comes from haxpro.ui

Finally, we will write Hello World!

use: haxpro.main
use: haxpro.ui

write: "Hello World!"

You’re done, let’s test it!

Testing your project

To test your project in the HaxPro IDE, press Run.

Or, type in the command prompt:

hax build

You should end up with this:

You just made your first HaxPro app!