Discover Packages
github.com/rubiojr/rugo
modules
eval
package
Version:
v0.26.1
Opens a new window with list of versions in this module.
Published: Feb 19, 2026
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
EnsureCompilerCache writes the full compiler source tree to
~/.cache/rugo/rugoeval/<hash>/ if it doesn't already exist.
Returns the absolute path to the cache dir.
func (*Eval ) File(path string , extra ...interface{}) interface{}
File compiles and runs a Rugo source file, returning a result hash.
Extra arguments after the file path are passed to the compiled program.
Run compiles and runs a Rugo source string, returning a result hash
with keys: "status" (int), "output" (string), "lines" (array).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.