Documentation
¶
Overview ¶
Package mappings some go built in functions to grol functions. Same mechanism can be used to map other go functions to grol functions and further extend the language.
Index ¶
Constants ¶
View Source
const GrolFileExtension = ".gr" // Also the default filename for LoadSaveEmptyOnly.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v0.41.0
type Config struct {
HasLoad bool // load() only present if this is true.
HasSave bool // save() only present if this is true.
LoadSaveEmptyOnly bool // Restrict load/save to a single .gr file inside the current directory.
UnrestrictedIOs bool // Dangerous when true: can overwrite files, read any readable file etc...
}
Configure restrictions and features. Currently about IOs of load and save functions.
type OneFloatInOutFunc ¶
Click to show internal directories.
Click to hide internal directories.