yzhliu / C-Minus-Compiler

Indent settings: alias lindent='indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1'

Repository from Github https://github.comyzhliu/C-Minus-CompilerRepository from Github https://github.comyzhliu/C-Minus-Compiler

make lex
make yacc
make

./parser < test.c > test.asm

nasm -f elf test.asm
ld -s -o test test.o

About

Indent settings: alias lindent='indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1'


Languages

Language:C 100.0%