libys/

directory
v0.0.0-...-7344eb8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2026 License: MIT

README

yamlscript/libys

Build the YAMLScript compiler and runtime as a shared library.

Building

The default build uses Gloat and Glojure:

make build

The repository-managed Makes system downloads all build dependencies into ./.cache/. No JVM or GraalVM installation is needed for the default build.

The GraalVM implementation remains available as an alternate build:

make build-graalvm

C API

The Glojure library preserves the existing public ABI:

char *load_ys_to_json(
  graal_isolatethread_t *thread, const char *yamlscript);

Existing bindings may continue to call the graal_* lifecycle functions. They are compatibility no-ops in the Glojure library because its Go runtime is process-wide.

The default output is lib/libys-glojure.so on Linux, with the usual libys.so compatibility links. Platform-specific extensions are used on macOS and Windows.

The yamlscript.compiler/compile function takes YAMLScript input and produces Clojure code. The library evaluates that code with Glojure and returns the established JSON data or error envelope.

Directories

Path Synopsis
gloat
native command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL