Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Aug 20, 2024
1 parent 0406459 commit d3e6743
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
Binary file modified davi
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/docs/.vuepress/dist/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<link rel="prefetch" href="/assets/index.html-BM3Slxnw.js" as="script"><link rel="prefetch" href="/assets/functions.html-CxobXpnB.js" as="script"><link rel="prefetch" href="/assets/get-started.html-CaDXNEEe.js" as="script"><link rel="prefetch" href="/assets/oop.html-B3-MbPsW.js" as="script"><link rel="prefetch" href="/assets/tutorials.html-DehlQ9rm.js" as="script">
</head>
<body>
<div id="app"><!--[--><div class="vp-theme-container" data-v-303656ba><main class="page" data-v-303656ba><div class="theme-default-content" data-v-303656ba><h1 data-v-303656ba>404</h1><blockquote data-v-303656ba>How did we get here?</blockquote><a class="route-link" href="/" data-v-303656ba>Take me home</a></div></main></div><!--[--><!----><!--]--><!--]--></div>
<div id="app"><!--[--><div class="vp-theme-container" data-v-303656ba><main class="page" data-v-303656ba><div class="theme-default-content" data-v-303656ba><h1 data-v-303656ba>404</h1><blockquote data-v-303656ba>Looks like we&#39;ve got some broken links.</blockquote><a class="route-link" href="/" data-v-303656ba>Take me home</a></div></main></div><!--[--><!----><!--]--><!--]--></div>
<script type="module" src="/assets/app-pg2N0Dwr.js" defer></script>
</body>
</html>
46 changes: 23 additions & 23 deletions interpreter/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,29 +82,29 @@ func (f builtinFunction) name() string {
}

var builtins = map[string]builtinFunction{
"append": {appendFunction, "append"},
"args": {argsFunction, "args"},
"char": {charFunction, "char"},
"exit": {exitFunction, "exit"},
"find": {findFunction, "find"},
"int": {intFunction, "int"},
"join": {joinFunction, "join"},
"len": {lenFunction, "len"},
"lower": {lowerFunction, "lower"},
"echo": {echoFunction, "echo"},
"range": {rangeFunction, "range"},
"read": {readFunction, "read"},
"rune": {runeFunction, "rune"},
"slice": {sliceFunction, "slice"},
"sort": {sortFunction, "sort"},
"split": {splitFunction, "split"},
"str": {strFunction, "str"},
"type": {typeFunction, "type"},
"upper": {upperFunction, "upper"},
"time": {timeFunction, "time"},
"file_get_contents": {fileGetContentsFunction, "fileGetContents"},
"http_register": {httpRegisterFunction, "httpRegister"},
"http_listen": {httpListenFunction, "httpListen"},
"append": {appendFunction, "append"},
"args": {argsFunction, "args"},
"char": {charFunction, "char"},
"exit": {exitFunction, "exit"},
"find": {findFunction, "find"},
"int": {intFunction, "int"},
"join": {joinFunction, "join"},
"len": {lenFunction, "len"},
"lower": {lowerFunction, "lower"},
"echo": {echoFunction, "echo"},
"range": {rangeFunction, "range"},
"read": {readFunction, "read"},
"rune": {runeFunction, "rune"},
"slice": {sliceFunction, "slice"},
"sort": {sortFunction, "sort"},
"split": {splitFunction, "split"},
"str": {strFunction, "str"},
"type": {typeFunction, "type"},
"upper": {upperFunction, "upper"},
"time": {timeFunction, "time"},
"fileGetContents": {fileGetContentsFunction, "fileGetContents"},
"httpRegister": {httpRegisterFunction, "httpRegister"},
"httpListen": {httpListenFunction, "httpListen"},
}

/**
Expand Down

0 comments on commit d3e6743

Please sign in to comment.