Skip to content

0x676e616c63/gnalc

Repository files navigation

Gnalc - 0x676e616c63

Base FixedPoint Backend Test

Gnalc is an optimizing compiler for SysY targeting ARM, RISC-V, and Brainfuck.

Overview

graph LR
    IRText["IR Text"] --> IR
    SysY --> AST --> SIR --> IR
    IR --> MIR
    IR --> LLVM[LLVM]
    IR --> Brainfuck
    MIR --> armv8[ARMv8]
    MIR --> armv7[ARMv7]
    MIR --> riscv64[RISCV64]
Loading

Setup

Prerequisites

  • cmake
  • clang++
  • python3
  • aarch64-linux-gnu-gcc

Build

git clone https://github.com/0x676e616c63/gnalc.git
cd gnalc
mkdir build && cd build
cmake .. && make gnalc -j$(nproc)
./gnalc -v

Documentation

Name

The name gnalc is clang reversed.
Our team name 0x676e616c63 is the ASCII hex representation of gnalc.

References

License

This project is licensed under the MIT License.
See LICENSE for details.

About

An optimizing compiler for SysY targeting ARM, RISC-V, and Brainfuck.

Topics

Resources

License

Stars

Watchers

Forks

Contributors