parser

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: MIT Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package parser exposes the compiled YAMLScript CSV parser to Go callers.

Index

Constants

View Source
const Version = "0.1.0"

Variables

This section is empty.

Functions

func ParseEDN

func ParseEDN(input, options []byte) (output []byte, err error)

ParseEDN accepts YAMLStar options and returns its EDN event representation.

Types

type Event

type Event struct {
	Type  string
	Value string
	Tag   string
	Flow  bool
}

Event carries a portable YAML event between adapters.

func Parse

func Parse(input []byte, config map[string]any) (events []Event, err error)

Parse returns a complete YAML event stream. Configuration is copied per call.

Jump to

Keyboard shortcuts

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