lang

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Keyword    = `:` + notStruct + `+`
	Identifier = notStructPfx + notStruct + `*`

	Local     = `(/|(` + localStart + localCont + `))`
	Qualified = `(` + localStart + localCont + `/` + Local + `)`

	Comment     = `;[^\n]*([\n]|$)`
	NewLine     = `(\r\n|[\n\r])`
	Whitespace  = `[\t\f ]+`
	ListStart   = `\(`
	ListEnd     = `\)`
	VectorStart = `\[`
	VectorEnd   = `]`
	ObjectStart = `{`
	ObjectEnd   = `}`
	Quote       = `'`
	SyntaxQuote = "`"
	Splice      = `,@`
	Unquote     = `,`
	Dot         = `\.`

	String = `(")(?P<s>(\\\\|\\"|\\[^\\"]|[^"\\])*)("?)`

	Ratio = `[+-]?(0|[1-9]\d*)/[1-9]\d*` + numTail

	Float = `[+-]?((0|[1-9]\d*)\.\d+([eE][+-]?\d+)?|` +
		`(0|[1-9]\d*)(\.\d+)?[eE][+-]?\d+)` + numTail

	Integer = `[+-]?(0[bB]\d+|0[xX][\dA-Fa-f]+|0\d*|[1-9]\d*)` + numTail

	AnyChar = "."
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL