Skip to content

Luigi11162/Toy2-Compiler

Repository files navigation

Toy2 Compiler

Compiler built with Java which compiles a program in a fictional language called Toy2 into C language.

Produced for the Compilers course of Computer Science at University of Salerno.

Specifications

  • Language specifications are written inside Specifiche Toy2.pdf file.
  • Built with Java 17

How to use it

  • Download the project
  • Move your .toy2 file into the source_files folder
  • Change the toy2Path variable inside the toy2_toC.bat file to the name of your program .toy2
  • Save the modified toy2_toC.bat file
  • Run the toy2_toC.bat file
  • The compiled C program will be generated in the jar_file/source_files/generated_c/ folder with the name out_c.c

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors