compiler

package
Version: v0.0.0-...-d15384b Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: MIT Imports: 37 Imported by: 0

Documentation

Overview

TODO: make new compiler for o language

Index

Constants

This section is empty.

Variables

View Source
var (
	NULL  = &object.Null{}
	TRUE  = &object.Boolean{Value: true}
	FALSE = &object.Boolean{Value: false}
)
View Source
var ApplyFunctionInside func(fn object.Object, args []object.Object) object.Object

Functions

func BasicAuth

func BasicAuth(h httprouter.Handle, requiredUser, requiredPassword string) httprouter.Handle

func DebugInterface

func DebugInterface(a interface{})

func Eval

func Eval(node ast.Node, env *object.Environment) object.Object

func HashKeyExist

func HashKeyExist(hash *object.Hash, hashpair object.HashPair) bool

func MakeStruct

func MakeStruct(typeName string, vals map[string]interface{}) interface{}

func ParseJson

func ParseJson(data []byte) *object.Hash

func ParseJsonToString

func ParseJsonToString(data object.Object) string

func ParseXML

func ParseXML(file string) *object.Hash

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL