/C_Compiler_with_Lex_and_Yacc

A small compiler that recognize the basic functionalities of C language (with small changes)

Primary LanguageYacc

C Compiler with Lex and Yacc

A small compiler that recognize the basic functionalities of C language (with small changes)

Requirements

  • Lex
  • Yacc
  • Gcc

Compilation

Run the follow command:

$> make all

Usage and examples

The binary is on bin/ folder and some example of programs that the compiler recognizes and runs. You can execute the binary as follow:

$> bin/run <file>

The binary compiles and executes the program in .

Document

There is a document with project explained on document/pdf folder, but in Spanish :)