cfg

package
v3.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package cfg reads the commandline options

Index

Constants

View Source
const Version = "v3.4.0"

Version is the version of this compiler

Variables

View Source
var (
	BaseDir string
	SrcFile string
	Verbose bool

	All      = flag.Bool("a", false, "Regenerate all files")
	BSRStats = flag.Bool("bs", false, "Print BSR stats")

	CPUProfile = flag.Bool("CPUProf", false, "Generate CPU profile")

	Go   = flag.Bool("go", true, "Generate Go code")
	Rust = flag.Bool("rust", false, "Generate Rust code")

	GLL               = flag.Bool("gll", true, "Generate GLL parser")
	Knuth             = flag.Bool("knuth", false, "Generate Knuth LR(1) parser")
	Pager             = flag.Bool("pager", false, "Generate Pager's PGM parser")
	AutoResolveLRConf = flag.Bool("resolve_conflicts", false, "Auto resolve LR(1) conflicts")
)

Functions

func GetParams

func GetParams()

Types

This section is empty.

Jump to

Keyboard shortcuts

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