Need help with alan?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

243 Stars 8 Forks 456 Commits 70 Opened issues


Autoscalable Programming Language

Services available


Need anything else?

Contributors list


The Alan Programming Language

CI Docs Discord Reddit <!-- Website -->

🔭 Predictable runtime for all computations - A program is represented as DAG(s) where the running time for all computations can be predicted because there is no unbounded recursion or iteration.

⛓ Automatic IO concurrency and parallelism across events and arrays - Alan exploits opportunities for IO concurrency or CPU parallelization across machines in a cluster via arrays and a static event loop without threads, channels, promises, futures, locks, etc.

✅ Almost no runtime errors - No deadlocks, livelocks, undefined variables, divide-by-zero, integer under/overflow, array out-of-bounds access, etc.

⚡️ No GC pauses - Alan’s runtime manages memory allocation, access, and deallocation for you like Java, Python, or Javascript. However, Alan’s static event system and automatic event-oriented memory model does so without garbage collector pauses.

👩‍🚀 Alan is a programming language that does concurrency for you and can thus separate how the software is written from how it runs. To learn more about Alan, take a look at runnable examples or the most Frequently Asked Questions.


For MacOS it is recommended to install Alan via the Homebrew package manager.


brew install alantech/homebrew-core/alan

For Linux and Windows it is recommended to install Alan via the published artifacts. Simply download the zip or tar.gz file for your operating system, and extract the

executable to somewhere in your
, make sure it's marked executable (if not on Windows), and you're ready to roll.


tar -xzf alan-ubuntu.tar.gz
sudo mv alan /usr/local/bin/alan


Invoke-WebRequest -OutFile -Uri
Expand-Archive -Path -DestinationPath C:\windows


To compile to Alan GraphCode and then run it with the AVM:

alan compile .ln .agc
alan run .agc

You can also compile-and-run a source file with a simple:

alan .ln

You can also transpile Alan to Javascript or one of it's intermediate representations.

Note: To better understand if we are building something people want to use we currently log an event when running an Alan command. Feel free to turn this off by setting the

environment variable to
, but if you do please let us know how you are using Alan and how often!


Source Installation:

If you wish to contribute to Alan, or if your operating system and/or CPU architecture do not match the above, you'll need a development environment to build Alan locally:

  • git (any recent version should work)
  • Node.js >=10.20.1
  • Rust >=1.45.0
  • A complete C toolchain (gcc, clang, msvc)

Once those are installed, simply:

git clone
cd alan
sudo make install

Integration tests:

Integration tests are in

and defined using Shellspec. To run all integration tests:
make bdd

To run a single test file:

make bdd testfile=bdd/spec/

To run a single test group use the line number corresponding to a

make bdd testfile=bdd/spec/


The Alan Programming Language is made up of multiple sub-projects housed within this monorepo. Each subdirectory has its own license file and the project as a whole uses two licenses: The Apache 2.0 license and the Affero GPL 3.0 license, with the breakdown as follows:

  • Apache 2.0
    • bdd
    • js-runtime
    • std
  • AGPL 3.0
    • compiler
    • avm

The Apache 2.0 license is freely combinable with the GPL 3 series of licenses as well as with proprietary software, so the standard library and Javascript runtime library are freely combinable with your own software projects without any requirement to open source it.

The AGPL 3.0 license requires that any changes to the code are published and publicly accessible. This is to make sure that any advancements to the compiler and AVM are available to all. The licensing of these tools does not affect the licensing of the code they compile or run. Similarly, the GCC compiler collection is GPL 3.0 licensed, but code compiled by it is not GPL 3.0 licensed.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.