Valacore


Description:

Valacore Reference Manual

libvalacore is a comprehensive core library for Vala — just add one dependency and get everything you need for daily development.

It aims to be for Vala what Boost is for C++, Base for OCaml, or the standard library for Go and Java. It provides practical APIs inspired by those ecosystems, while keeping GLib compatibility and idiomatic Vala design.

Design Goals

Quick Start

Build and run tests:

meson setup build
meson test -C build

Install:

sudo ninja -C build install

Example usage:

using Vala.Io;
using Vala.Collections;

void main () {
Files.writeText (new Path ("/tmp/example.txt"), "hello");

var list = new ArrayList<int> ();
list.add (3);
list.add (1);
list.add (2);
list.sort ();
}

Namespace Guide

Only namespaces currently implemented in this version are listed below.

Recommended Entry Points

Guides

Documentation Notes

Each public class and method includes Valadoc comments with:

Until v1.0.0, breaking changes may be introduced between minor versions.

Links

Content:

Namespaces: