package
0.0.0-20201212205213-ae3286749100
Repository: https://github.com/npillmayer/gotype.git
Documentation: pkg.go.dev

# Packages

Package grammar contains generated Go code produced by ANTLR V4.
Package varparse implements a parser to get variable references from strings.

# Functions

Create a pair variable reference.
Convenience function to create and initialize a type declaration.
Create a variable reference.
Create and initialize a new variable type declaration.
Symbol-creator for symbol table: creates tag symbol.
We're tracing to the InterpreterTracer.
Helper: get a type from a string.
Helper: get a type as string.

# Constants

Predefined variable types.
Predefined variable types.
Predefined variable types.
Predefined variable types.
Predefined variable types.
Predefined variable types.
Predefined variable types.
Predefined variable types.
Predefined variable types.
Predefined variable types.
Predefined variable types.

# Structs

Variables of type pair will use two sub-symbols for the x-part and y-part of the pair respectively.
MetaFont declares variables explicitly ("numeric x;") or dynamically ("x=1" ⟹ x is of type numeric).
Variable reference look like "x", "x2", "hello.world" or "a[4.32].b".

# Type aliases

VariableType represents the type of a variable (obviously).