Skip to content
/ swua Public

Toy programming language using LLVM

License

Notifications You must be signed in to change notification settings

yulmwu/swua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]
Loading

Usage

Build from source

Tutorial

Standard Library

Features and TODO