godoc for extra packages

This commit is contained in:
Aidan 2020-07-18 14:45:36 -07:00
parent fec3550702
commit b941df68e1
No known key found for this signature in database
GPG key ID: 327711E983899316
4 changed files with 17 additions and 2 deletions

View file

@ -24,6 +24,10 @@ import (
"gitlab.com/whom/shs/stdlib"
)
/* creates new VarTable and FuncTable
* reads a configuration file
* executes contents and returns tables
*/
func InitFromConfig(configFile string) (ast.VarTable, ast.FuncTable) {
funcs := stdlib.GenFuncTable()
vars := &map[string]*ast.Token{}