validators

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChipTypeAuto         = "auto"
	ChipTypeBasic        = "basic"
	ChipTypeAdvanced     = "advanced"
	ChipTypeProfessional = "professional"
)

Variables

This section is empty.

Functions

func AutoChooseChipType added in v0.1.5

func AutoChooseChipType(choosen string, filename string) (string, error)

AutoChooseChipType chooses a chip-type based on the provided type and the filename of the source-file

func ValidateAvailableOperations added in v0.1.5

func ValidateAvailableOperations(program ast.Node, chiptype string) error

ValidateAvailableOperations checks if all used operations are available on the given chip-type

func ValidateCodeLength

func ValidateCodeLength(code string) error

ValidateCodeLength checks if the given code (in text-format) does fit yolol's boundaries

Types

This section is empty.

Jump to

Keyboard shortcuts

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