Documentation
¶
Overview ¶
Package parser provides parsing utilities for the HoTT kernel.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatTerm ¶
FormatTerm formats an AST term as an S-expression string.
func ParseMultiple ¶
ParseMultiple parses multiple terms separated by whitespace.
Types ¶
type ParseError ¶
ParseError represents a parsing error with position information.
func (*ParseError) Error ¶
func (e *ParseError) Error() string
type SExprParser ¶
type SExprParser struct {
// contains filtered or unexported fields
}
SExprParser parses S-expressions into AST terms.
func NewSExprParser ¶
func NewSExprParser(input string) *SExprParser
NewSExprParser creates a new S-expression parser.
Click to show internal directories.
Click to hide internal directories.