util

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package util implements functions to environment.

Index

Constants

View Source
const (
	OroName                          = "Oro Programming Language"
	OroVersion                       = "1.0.0"
	OroReplSignal                    = "oro> "
	OroAuthorName                    = "LuisCM"
	OroAuthorEmail                   = "tcljava@gmail.com"
	OroCopyrightDescription          = "Copyright "
	OroCopyright                     = "\u00a9 2011-%d LuisCM All Rights Reserved."
	OroFileExtension                 = ".oro"
	OroCmdNotFound                   = "Command %q doesn't exist.\n"
	OroCliCommandExit                = "Use CTRL+C or quit() return to exit."
	OroCliCommandNameRun             = "run"
	OroCliCommandUsageRun            = "Run an source file."
	OroCliCommandActionRunExistFile  = "The file extension '%s' should be '" + OroFileExtension + "'."
	OroCliCommandActionRunSourceFile = "Run expects a source file as argument."
	OroCliCommandActionRunReadFile   = "Couldn't read '%s'."
	OroCliCommandNameRepl            = "repl"
	OroCliCommandUsageRepl           = "Start the interactive Read-Eval-Print Loop."
)

Variables

This section is empty.

Functions

func AuthorEmail

func AuthorEmail() string

func AuthorName

func AuthorName() string

func CliCommandActionRunExistFile

func CliCommandActionRunExistFile() string

func CliCommandActionRunReadFile

func CliCommandActionRunReadFile() string

func CliCommandActionRunSourceFile

func CliCommandActionRunSourceFile() string

func CliCommandNameRepl

func CliCommandNameRepl() string

func CliCommandNameRun

func CliCommandNameRun() string

func CliCommandUsageRepl

func CliCommandUsageRepl() string

func CliCommandUsageRun

func CliCommandUsageRun() string

func CommandExit

func CommandExit() string

func CommandNotFound

func CommandNotFound() string
func Copyright() string

func CopyrightDescription

func CopyrightDescription() string

func Environment

func Environment() string

func FileExtension

func FileExtension() string

func Name

func Name() string

func NameVersion

func NameVersion() string

func NameVersionEnvironment

func NameVersionEnvironment() string

func ReplSignal

func ReplSignal() string

func Version

func Version() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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