Documentation ¶
Index ¶
- func Scan(s, f any)
- type Atomiser
- func (a Atomiser) DigitValue() (r rune)
- func (a Atomiser) IsAlpha() bool
- func (a Atomiser) IsArrayEnd() bool
- func (a Atomiser) IsArrayStart() bool
- func (a Atomiser) IsDelimiter(d rune) bool
- func (a Atomiser) IsEOF() bool
- func (a Atomiser) IsLineBreak() bool
- func (a Atomiser) IsListEnd() bool
- func (a Atomiser) IsListStart() bool
- func (a Atomiser) IsPrint() bool
- func (a Atomiser) IsRadix(r int) (ok bool)
- func (a Atomiser) IsStringEnd() bool
- func (a Atomiser) IsStringStart() bool
- func (a Atomiser) IsValidSymbol() bool
- func (a Atomiser) IsWhitespace() bool
- func (a Atomiser) NextToken()
- func (a Atomiser) Read() (r any)
- func (a *Atomiser) ReadArray() (s slices.Slice)
- func (a Atomiser) ReadChar() (r rune)
- func (a *Atomiser) ReadList() (c *chain.Cell)
- func (a Atomiser) ReadString() (r String)
- func (a Atomiser) ReadSymbol() (r Symbol)
- func (a Atomiser) SkipWhitespace()
- type Delimiters
- type Lisper
- type String
- type Symbol
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Atomiser ¶
type Atomiser struct { *scanner.Scanner String Delimiters List Delimiters Array Delimiters }
func NewAtomiser ¶
func (Atomiser) DigitValue ¶
func (Atomiser) IsArrayEnd ¶
func (Atomiser) IsArrayStart ¶
func (Atomiser) IsDelimiter ¶
func (Atomiser) IsLineBreak ¶
func (Atomiser) IsListStart ¶
func (Atomiser) IsStringEnd ¶
func (Atomiser) IsStringStart ¶
func (Atomiser) IsValidSymbol ¶
func (Atomiser) IsWhitespace ¶
func (Atomiser) ReadString ¶
func (Atomiser) ReadSymbol ¶
func (Atomiser) SkipWhitespace ¶
func (a Atomiser) SkipWhitespace()
type Delimiters ¶
type Delimiters struct {
Start, End rune
}
func (Delimiters) IsEnd ¶
func (d Delimiters) IsEnd(v rune) bool
func (Delimiters) IsStart ¶
func (d Delimiters) IsStart(v rune) bool
type Lisper ¶
type Lisper struct {
*Atomiser
}
func (Lisper) ReadDecimalPlaces ¶
func (Lisper) ReadDigits ¶
func (Lisper) ReadInteger ¶
func (Lisper) ReadSymbol ¶
Click to show internal directories.
Click to hide internal directories.