build

package
v0.0.0-...-3922952 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EBNF

type EBNF struct {
	Encoder *core.Encoder `kernel:"inject"`
	Build   *core.Build   `kernel:"inject"`
	Ebnf    *string       `kernel:"flag,ebnf,Output Parser EBNF"`
}

EBNF generates EBNF and railroad diagrams of the parser

func (*EBNF) Start

func (s *EBNF) Start() error

type Railroad

type Railroad struct {
	Encoder  *core.Encoder `kernel:"inject"`
	Build    *core.Build   `kernel:"inject"`
	Railroad *string       `kernel:"flag,railroad,Generate Railroad graph"`
	Output   *string       `kernel:"flag,railroad-out,Destination of Railroad graph"`
}

Railroad creates railroad diagrams from EBMF files.

This is based on the railroad command in participle

func (*Railroad) Start

func (r *Railroad) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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