Proposed HIR design

4 views
Skip to first unread message

Bill Cox

unread,
Mar 25, 2023, 8:48:05 PM3/25/23
to Rune language discussion
A preliminary version can be found here.  Please feel free to give feedback.

The HIR, or "High-level Intermediate Representation" is a database of data structures used to represent Rune code by the bootstrap Rune compiler we're writing.  We may build an AST first, or maybe like the C Rune compiler, we'll parse directly into the HIR.

This is the most important part of the bootstrap Rune compiler to get right.  Doing it well will simplify the rest of the work on the compiler, and enable multiple folks to work somewhat independently on various parts of the compiler in parallel.

Bill
Reply all
Reply to author
Forward
0 new messages