Skip to content
/ GoIR Public

Produces a MIR (Medium level Intermediate Representation) for Go based on the AST produced by github.com/timtadh/GoAST. The MIR is intended to be useful starting point for program analysis/optimization.

Notifications You must be signed in to change notification settings

timtadh/GoIR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoIR

Produces a MIR (Midlevel Intermediate Representation) for Go based on the AST produced by GoAST. The MIR is intended to be useful starting point for program analysis/optimization.

Project Status: Nothing to see here.

Todo

  • Define semantics of the MIR [Partial]
    • Define instruction format [Done, I chose quads]
    • Define variables, types, labels etc
  • Make symbol table supporting types, variables, and labels
  • Start work on generator

About

Produces a MIR (Medium level Intermediate Representation) for Go based on the AST produced by github.com/timtadh/GoAST. The MIR is intended to be useful starting point for program analysis/optimization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages