Compiler Library
Storm provides a number of utilities that aid in creating languages, and compilers for such languages. These utilities can be roughly divided into three parts:
- A library of named entities that are stored in the name tree. These form a common representation of central concepts that can be shared between languages. Examples are functions and types.
-
A library for parsing text into abstract syntax trees. The conceptual part of this area of the
compiler library is covered in the section on the syntax
language. This part of the manual covers the
technical parts, such as details of the
Parser
class. - A library for generating machine code. Again, the conceptual parts of this area of the compiler library is covered in the section on the intermediate language. This part of the manual is, however, more technical in nature.