Skip to main content

Module native

Module native 

Source
Expand description

Direct construction of the typed graph from a flat token stream.

The native precedence engine owns parsing decisions only. Token storage, cursor position, trivia skipping, and newline detection belong to ParseStream, shared with generated Parse implementations.

Structs§

CompletedNativeCell
One completed native cell together with its exact submitted source.
NativeCellParser
A retained native parser for line-oriented shell input.
NativeParser
The built-in parser implemented directly from Macaulay2’s P/B/U table.

Enums§

NativeCellState
The current state of an append-oriented native cell parser.
NativeParseError
An error produced by the native lexer or precedence parser.

Functions§

parse_native
Parses a complete source file with the native precedence engine.
parse_native_recovering
Parses source while retaining valid syntax inside unclosed delimiters.