compiler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	STAGE_LEXER = iota
	STAGE_PARSER
	STAGE_FINAL
	STAGE_EXIT
)

Variables

This section is empty.

Functions

func Run

func Run(options *Options) error

func SetupOptions

func SetupOptions()

Types

type Options

type Options struct {
	Path    string
	Package string
	Stage   int
	Output  string
	Debug   bool
}

func NewOptions

func NewOptions(path string) *Options

func ParseOptions

func ParseOptions() *Options

Jump to

Keyboard shortcuts

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