Help us shape the future of Go! Take the 2026 Go Developer Survey

parser

package
v1.45.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReader

func NewReader(opts ...ReaderOption) lisp.Reader

NewReader returns a new lisp.Reader. With no options, returns a standard reader. Pass WithFormatPreserving() for tooling use.

Types

type ReaderOption added in v1.17.0

type ReaderOption func(*readerConfig)

ReaderOption configures a Reader created by NewReader.

func WithFormatPreserving added in v1.17.0

func WithFormatPreserving() ReaderOption

WithFormatPreserving enables format-preserving mode. When enabled, the parser populates LVal.Meta with SourceMeta containing comments, bracket types, blank lines, and original literal text.

Directories

Path Synopsis
Package parser provides a lisp parser.
Package parser provides a lisp parser.

Jump to

Keyboard shortcuts

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