Skip to content

Simple C ZRES Compiler, an alternative to the broken ZRES.

Notifications You must be signed in to change notification settings

davidctinescu/sczc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCZC (SIMPLE C ZRES COMPILER)


THIS FOLLOWS GENERAL DEFINITIONS OF A COMPILER!

meant to replace zres (written in rust) compiles to intermediate represantation (C code) and uses GCC to produce the file executable.

please make sure to have make installed and run, to compile:

make clean all

to run:

./out/sczc <input_file>

dependencies: gcc make


current directory structure:

main_dir/
│
├── Makefile
├── out/
└── src/
    ├── main.c
    └── libs/
        └── reader.h

currently introduced file reading and basic tokenization, IR (C) code generation and compilation

About

Simple C ZRES Compiler, an alternative to the broken ZRES.

Resources

Stars

Watchers

Forks

Packages

No packages published