Documentation
¶
Overview ¶
Package runtime provides helper functions for AILANG Go codegen. This is the canonical runtime for the Go backend - semantics defined here are the source of truth for compiled AILANG programs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConcatString ¶
ConcatString concatenates two values as strings. This implements the AILANG ++ operator for strings.
func ConvertToInt64Slice ¶
ConvertToInt64Slice converts []any to []int64. Used when ADT constructors expect [int] fields.
func ConvertToRecordSlice ¶
ConvertToRecordSlice converts []any to []map[string]any. Used when ADT constructors expect [{...}] record fields.
func ConvertToStringSlice ¶
ConvertToStringSlice converts []any to []string. Used when ADT constructors expect [string] fields.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.