/swua

Toy programming language using LLVM

Primary LanguageRustMIT LicenseMIT

This project is being rewritten source code. Check the old version of the source code in the old branch

Swua Programming Language

Small, insignificant programming language šŸ˜ƒ

English | ķ•œźµ­ģ–“ | Examples | License

Table of Contents

Overview

It's not ready yet. translating and reading Korean documents is also a good option. šŸ˜‰

graph LR
    A[Source Code] --> C[Parse]
    C --> D[AST]
    D --> E[Type Check]
    E --> F[LLVM Optimize]
    F --> G[LLVM IR Generate]
    G --> H[Clang Build]
    G --> K[JIT execution]
    I[Linking Standard Library] --> H
    I --> K
    H --> J[Object File]
    J --> L[Executable File]

Usage

Build from source

Tutorial

Standard Library

Features and TODO