Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitGlobalEnvironment ¶
func InitGlobalEnvironment()
func MustInterpret ¶
Interpret the given file. Panics when the file does not compile or encounters a runtime error
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package bitfield implements useful bitfield structs which can be easily embedded in other structs to compress multiple bool flags.
|
Package bitfield implements useful bitfield structs which can be easily embedded in other structs to compress multiple bool flags. |
|
cmd
|
|
|
elk
command
|
|
|
elkify
command
|
|
|
headers
command
|
|
|
Package comparer implements comparer functions for Elk values.
|
Package comparer implements comparer functions for Elk values. |
|
Package Compiler implements compilers that turn Elk source code into bytecode or Go source code
|
Package Compiler implements compilers that turn Elk source code into bytecode or Go source code |
|
Package threadsafe contains data structures (like maps) that can be safely used by multiple goroutines at the same time.
|
Package threadsafe contains data structures (like maps) that can be safely used by multiple goroutines at the same time. |
|
Package config provides utilities for reading configuration options of the interpreter.
|
Package config provides utilities for reading configuration options of the interpreter. |
|
Package ds implements common generic data structures.
|
Package ds implements common generic data structures. |
|
Package env contains environment variables used by Elk
|
Package env contains environment variables used by Elk |
|
Package ext contains functions that are used to handle Elk native extensions
|
Package ext contains functions that are used to handle Elk native extensions |
|
Package info contains variables with useful info about the elk environment
|
Package info contains variables with useful info about the elk environment |
|
Package lexer implements a lexical analyzer used by the Elk interpreter.
|
Package lexer implements a lexical analyzer used by the Elk interpreter. |
|
Package parser implements a parser used by the Elk interpreter.
|
Package parser implements a parser used by the Elk interpreter. |
|
ast
Package ast defines types used by the Elk parser.
|
Package ast defines types used by the Elk parser. |
|
Package position implements a struct that describes where a sequence of characters is located in a file.
|
Package position implements a struct that describes where a sequence of characters is located in a file. |
|
Package regex implements a regex parser.
|
Package regex implements a regex parser. |
|
flag
Package flag contains the definitions of Elk Regex flags
|
Package flag contains the definitions of Elk Regex flags |
|
lexer
Package lexer implements a regex lexer
|
Package lexer implements a regex lexer |
|
parser
Package parser implements a regex parser.
|
Package parser implements a regex parser. |
|
parser/ast
Package ast defines types used by the regex parser.
|
Package ast defines types used by the regex parser. |
|
token
Package token implements tokens produced by the regex lexer and used by the regex parser
|
Package token implements tokens produced by the regex lexer and used by the regex parser |
|
Package types contains the Elk type checker.
|
Package types contains the Elk type checker. |
|
checker
Package checker implements the Elk type checker
|
Package checker implements the Elk type checker |
|
Package value contains definitions of Elk values, classes, structs, modules etc.
|
Package value contains definitions of Elk values, classes, structs, modules etc. |
|
durationscanner
Package durationscanner implements a tokenizer/lexer that analyses Elk duration strings.
|
Package durationscanner implements a tokenizer/lexer that analyses Elk duration strings. |
|
timescanner
Package timescanner implements a tokenizer/lexer that analyses Elk time format strings.
|
Package timescanner implements a tokenizer/lexer that analyses Elk time format strings. |
|
Package vm contains the Elk Virtual Machine.
|
Package vm contains the Elk Virtual Machine. |
Click to show internal directories.
Click to hide internal directories.