Skip to content

jahan-addison/roxas

Repository files navigation

roxas

B Compiler to z80 in C++

  • The frontend (Lexer, Parser) and first-pass is built with an easy-to-use LALR(1) grammar and parser generator in python, that interfaces with C++ via libpython or json via simdjson
  • The backend will focus on modern work in SSA, Sea of Nodes, and compiler optimizations through IR breakthroughs in LLVM, gcc, V8, and related toolchains

sunil sapkota twitter

Installation

  • Install git submodules
git submodule update --init --recursive

...

MacOS

...

Windows (mingw/msys)

pacman -S git wget mingw-w64-x86_64-clang mingw-w64-x86_64-gcc mingw-w64-x86_64-ninja mingw-w64-x86_64-cmake make mingw-w64-x86_64-python3 autoconf libtool mingw-w64-x86_64-unicode-character-database
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug
make

More information on llvm in mingw.

Dependencies

Note: These are installed automatically via CPM and cmake.

  • simdjson - Ultra-performant json parser
  • cxxopts - Lightweight commandline option parser

Resources

Check the project board for development and feature progress.

License

Apache 2 License.

img2

About

B Compiler for the z80 architecture in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published