Skip to content

MaxenceHull/Go_Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiler (Go to Python language)

Introduction

This compiler was made using Java and SableCC (a parser, also helping to generate the abstract syntax tree AST). The compiler handles many Go functionnalities (but not all) such as:

  • all Go operators
  • comments
  • package declaration
  • variable declaration
  • type declaration
  • function declaration
  • slices, arrays, structs
  • if, switch, for ...
  • typechecking

Notes

This project was realised with my teammate Laurence Stolzenberg We still have some bugs to resolve:

  • inequality between structs
  • optimized array init
  • make the pretty printer 100% functional

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors