GitXplorerGitXplorer
g

rust-microc

public
3 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
a6c292fce20e61940fcc01959fd356fb18f01ecf

Update README.md

ggbrls committed 4 years ago
Unverified
9d1889bee62c63bbee5f63f6121e27b772d03147

readme

ggbrls committed 4 years ago
Verified
7ca17fd564d5e5c6e6bed10c30799d7147f4790f

Merge pull request #4 from gbrls/gcc

ggbrls committed 4 years ago
Unverified
0478a3da3c819f0b5202da246c9c329551a52182

fix to PRINT64 macro

ggbrls committed 4 years ago
Verified
1cb19713dfda399dc46d0068b410eff71726ec95

create readme

ggbrls committed 4 years ago
Verified
5f1dad1f6a1c4664426b5f423030d01987634121

Merge pull request #3 from gbrls/gcc

ggbrls committed 4 years ago

README

The README file for this repository.

rust-microc

This is a WIP compiler for microc (a small C dialect). Written for learning purposes only.

Dependencies

To run a compiled version of the compiler you'll need gcc and nasm.
To use the project from sources you'll need the Rust toolchain and the above dependencies.

Things to do

  • Modify the code generation algorithm to use registers instead of the stack for arithimetic operations.
  • int64 support.
  • better FFI.
  • strings, arrays and pointers.
  • Refactor bytecode to x86_64 code.