class

YAMLScript

Inherits Reference < Object

Crystal binding for the libys shared library.

Constants

VERSION = "0.2.29"
YAMLSCRIPT_VERSION = "0.2.29"

This value is automatically updated by 'make bump'. The version number is used to find the correct shared library file. We currently only support binding to an exact version of libys.

Constructors

Class methods

load(ys_code : String, **options)

Interface with the libys shared library.

Example:

require "yamlscript"

YAMLScript.load(File.read("file.ys"))
Source

Instance methods

error
Source
load(ys_code : String)

Compile and eval a YAMLScript string and return the result

Source
options
Source

Nested types