# Functions
ApplyTemplate apply template code for input params.
CacheTemplate caches template to the statement.
CompileExpr compiles single line of code.
CompileFile compiles miniGo code and register func.
CompileGoStmt compiles miniGo code and register func.
ContainsTemplate checks an object contains template or not.
GetByKeys get value from list of key.
GetStmtParser returns parser for specific per function.
KeyToList converts keys to string array.
LoadYAML loads YAML from byte buffer.
LoadYAMLFile loads YAML from file.
MakeStmts parses multiple statesmantes.
MappingNodeToMap convert yaml node to map.
MapToValue converts interface map to value map.
NewContext makes data context.
NewEnvironment create new gohan extension environment based on context.
NewMiniGoValue makes a MiniGoValue value.
NewStack makes stack.
NewStmt makes gohan statement from yaml node.
NewTemplate makes a template value.
NewValue makes gohan script value from an yaml data.
NewVM creates a VM.
RegisterMiniGoFunc register minigo func.
RegisterStmtParser registers new parser per function.
RunTests find tests under a directory and it executes them.
StmtsToFunc creates list of func from stmts.
# Constants
+.
+=.
&.
&=.
&^.
&^=.
<-.
=.
No description provided by the author
'a'.
--.
No description provided by the author
No description provided by the author
:=.
...
==.
123.45.
>=.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
>.
main.
ILLEGAL tokens.
123.45i.
++.
No description provided by the author
No description provided by the author
12345.
&&.
<=.
||.
<.
*.
*=.
!=.
!.
|.
|=.
No description provided by the author
No description provided by the author
/.
/=.
No description provided by the author
%.
%=.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
<<.
<<=.
>>.
>>=.
"abc".
-.
-=.
No description provided by the author
^.
^=.
# Structs
Constant represents donburi consntant.
Context is execution context in gohan script.
DebuggerRPC is a proecess to handle remote debuggging.
Environment gohan script based environment for gohan extension.
Error represent error for gohanscript.
MiniGo is tiny interpreter for evaluating small expression in the gohan scriptMiniGo uses go parser, and implements subset of functions.
MiniGoValue reprensents minigo value.
Nil reprensents nil.
Op ...
Stack express stack in running context.
Stmt represents gohan script statement.Stmt is responseible to generate go function fromYAML definitions.
Template reprensents a value includes templates.
VM is a struct for Gohan script.
# Interfaces
Value represents gohan script value interface.
# Type aliases
MiniGoFunc represents function which can be used in minigo.
OpCode ...
StmtParser converts gohan script statement for golang function.You can register your parser using RegisterStmtParser call, so that you can have new gohan script function implemented by go.