8000 GitHub - jm8/cc.awk: A C compiler written in awk
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jm8/cc.awk

Repository files navigation

cc.awk

A C compiler written in portable Awk. Tested on gawk, mawk, and busybox awk.

It targets riscv assembly, so you will need to install qemu and riscv64-unknown-linux-musl-gcc (for the assembler and linker).

Usage:

cc.awk program.c > program.asm
riscv64-unknown-linux-musl-gcc program.asm -o program
./program 

About

A C compiler written in awk

Resources

Stars

Watchers

Forks

0 forks 32B1

Releases

No releases published

Packages

No packages published

Languages

0