Skip to content
View AxonScript's full-sized avatar

Block or report AxonScript

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
AxonScript/README.md

Build #0001 — Pre-Alpha Demo

AxonScript

Hi, I'm Astral!

AxonScript is my own programming language.
The original idea behind AxonScript was to create a language where you could easily build your own neural network.

At the moment, native support for neural networks is not implemented yet:

Build #0001 — Pre-Alpha Demo

But even now, AxonScript is already Turing complete!


Tools I used to build AxonScript

  • Rust — The entire language is written in Rust.
  • Logos — A Rust library for fast and efficient lexical analysis.
  • llvm-sys — A Rust binding for generating LLVM IR.
  • LLVM — A powerful toolkit for building compilers.

Compilation process

1. Lexical Analysis

First, your source code goes through lexical analysis. All the words in your code are broken down into tokens.

2. Parsing

After tokenization, the code is transformed into an AST (Abstract Syntax Tree).

3. Semantic Analysis

The AST is checked for semantic correctness and then optimized. In this stage, the AST is transformed into HIR (High-level Intermediate Representation).

4. IR Generation

From the HIR, the compiler generates LLVM IR (Intermediate Representation).

5. Compilation

LLVM IR is then optimized and compiled into machine code.


Language Documentation

You can read the full documentation on our official website:
👉 https://axonscript.org/docs


Community

Join the community:
🌐 https://axonscript.org/community

Popular repositories Loading

  1. AxonScriptBeta AxonScriptBeta Public

    AxonScript is an open-source language prototype focused on custom syntax and intuitive structure. It’s currently in early beta, with a testable interpreter and evolving core ideas. Built by a small…

    Svelte 1 1

  2. AxonScript AxonScript Public

    Rust 1

  3. Void Void Public

  4. AxonScriptExtension AxonScriptExtension Public

    A Visual Studio Code extension that provides syntax highlighting and basic language support for the AxonScript programming language.