Skip to content

Strumenta/rpg-to-java-transpiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPG to Java transpiler

This repository contains a simple transpiler from RPG code to Java.

This code was written for the tutorial on transpilers at https://tomassetti.me/how-to-write-a-transpiler/.

This project takes advantage of:

  • The RPG parser from Jariko. Jariko is a JVM interpreter for RPG. To learn more about Jariko you can read this article
  • JavaParser, a library to parse and process Java code
  • Kolasu, a library to define ASTs

Acknowledgements

Thanks to Sme.UP and Franco Lombardo for their work on Jariko, the JVM interpreter for RPG. We have derived examples from that project.