Skip to content

jllopes/uccompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codacy Badge

Uc Compiler.

Compiler for a subset of the C language.

Disclaimer

This project is not fully complete. Code generation is not correctly implemented and semantic errors are not detected.

Running the compiler

  1. Lexical analisys
$ ./uccompiler -l

or

$ ./uccompiler -1
  1. Abstract Syntax Tree
$ ./uccompiler -t
  1. Syntax Analisys
$ ./uccompiler -2
  1. Semantic Analisys

In this step the project will create the necessary Symbol Tables and annotate the AST. The project will only complete this step if there are no syntax errors in the code.

$ ./uccompiler -s
  1. Default

If no flags are used, the project will create the symbol tables and generate the code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published