compiler

package
v3.9.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile

func Compile(options Options) error

Compile parses the Frugal IDL and generates code for it, returning an error if something failed.

Types

type Options

type Options struct {
	File    string // Frugal file to generate
	Gen     string // Language to generate
	Out     string // Output location for generated code
	Delim   string // Token delimiter for scope topics
	DryRun  bool   // Do not generate code
	Recurse bool   // Generate includes
	Verbose bool   // Verbose mode
}

Options contains compiler options for code generation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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