# README

This directory contains templates for use by irgen. They are written in the irgen template language.

  • base.go: low-level API for allocating and accessing IR nodes.
  • sexpr.go: code to print nodes using S-expression syntax

# Functions

No description provided by the author
FormatSExprTypName is a stub for Sexpr formatters for primitive types.
NewAllocator constructs a new Allocator.

# Constants

@for item.
@for item.

# Structs

Allocator allocates nodes in batches.
Struct is the type of a reference to an immutable record.
StructValue is the logical type of a record.
Sum is the type of a tagged union of records.
Type is a mock struct type.

# Interfaces

No description provided by the author

# Type aliases

Enum is an enumeration type.
SumTag is the tag type.