web

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

README

web

Go-powered new programming language for web development

This is still very early version, so please use only for testing purposes, because it's not production ready yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Class

type Class struct {
	Attributes map[string]interface{}
	Methods    map[string]Function
}

Web class represantation in VM

type Function

type Function struct {
	Args map[string]interface{}
}

Web function representation in VM

type VM

type VM struct {
	Classes map[string]Class
}

Main VM struct

func (*VM) InitVM

func (vm *VM) InitVM(ctx context.Context, args []string, sourceDir string, output chan<- string) error

Initialize VM with given context and arguments. Please provide correct sourceDir - directory of Web language source files

Jump to

Keyboard shortcuts

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