Resources to understand code generation from AST?

This page summarizes the projects mentioned and recommended in the original post on /r/Compilers

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • rfc

    My slides and compilation of resources.

  • Fun compilers has some links for you. In particular I'd recommend:

  • coherence

    Oracle Coherence Community Edition (by oracle)

  • FWIW - here's an AST for Java that directly emits Java byte code: https://github.com/oracle/coherence/tree/master/prj/coherence-core/src/main/java/com/tangosol/dev/compiler/java

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • nyanpasu

  • I also have some old Haskell code that emits x86: https://github.com/soupi/nyanpasu/blob/master/src/Language/Nyanpasu/IR/CodeGen.hs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts