chevron

package module
v0.0.0-...-468f365 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: MIT Imports: 9 Imported by: 0

README

chevron

an esoteric yet (somewhat) readable language.

install

go install github.com/superloach/chevron/cmd/ch@latest

docs

see DOCS.md

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chevron

type Chevron struct {
	Src     string
	Args    []string
	Lines   []string
	Program []ops.Op
	Vars    *vars.Vars
	Err     io.Writer
	Out     io.Writer
	In      io.Reader
	Debug   bool
}

func Load

func Load(code string, args []string, debug bool) (*Chevron, error)

func LoadFile

func LoadFile(src string, args []string, debug bool) (*Chevron, error)

func (*Chevron) DebugPrintln

func (ch *Chevron) DebugPrintln(args ...interface{})

func (*Chevron) Step

func (ch *Chevron) Step() error

Directories

Path Synopsis
cmd
ch

Jump to

Keyboard shortcuts

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