#libucl

2025-07-30

#libucl #configuration #formats

libucl -- a universal configuration library:

github.com/vstakhov/libucl

A really interesting project, and a premise which really works for different configurations.

This Is BSD-based, and is used in a lot of FreeBSD projects: #hikari. #pkg from #freebsd, etc.

I'm trying to give it some love as it needs it.

To that end, I have created the #libucl #irc channel on irc.libera.chat

Those of you interested, come by, say "hello".

I hope the maintainer(s) of #libucl do likewise. :)

Antranig Vartanian ✔antranigv@weblog.antranigv.am
2023-04-08

libucl wrapper in Oberon-2 for Vishap Oberon Compiler

Like I said in my previous post, this is a long project and it relies on a lot of things 🙂

Wrapping libxo was fun, but wrapping libucl was way more complicated. However, it is done. It’s not a complete port, however, it has the basics to get started. The goes is to have all wrappers match the their libraries.

The source is at antranigv/voclibucl and here’s a screenshot of what it can do.

Next, I will be improving these wrappers and then work on lzc, a.k.a. Lib_ZFS_Core 😉

See you soon 🙂

https://weblog.antranigv.am/posts/2023/04/libucl-wrapper-in-oberon-2-for-vishap-oberon-compiler/

#freebsd #libucl #oberon

Antranig Vartanian ✔antranigv@weblog.antranigv.am
2023-03-20

Design Guidelines vs Pushing The Limits

One of the design guidelines of Jailer is don’t break FreeBSD. As in if someone installed and used Jailer, and then deleted the Jailer binary and libraries, their Jails would still run without any issues. We do this with minimal intervention, for example, jailer init patches FreeBSD’s /etc/rc.d/jail, but in a way that you wouldn’t feel the difference much. We don’t create new rc.conf variables, we just change couple of loops. In a way, you can keep these changes even if you delete Jailer so your system would be much improved. Obviously, we do sent these patches to FreeBSD src.

But I’m in front of an issue right now. On one side, I want to keep these guidelines, on the other, pushing the limit will allow me to improve Jailer way more than I expected.

These are the things that I think about before sleep, or during the shower. I gave a promise, that I will not break the Jail ecosystem. But what if, just what if, the ecosystem was broken in the first place?

Some of you might know, that we’ve been working on integrating libucl with Jail. The experiments have been going well, in such that I feel I want to integrate these experiments with Jailer already, even before they get into FreeBSD (and they might even not get in at all).

My dream of Jailer and its ecosystem is complex. I feel that these integration would do good on the long-term, but I want to keep the short term alive as well.

One idea is to fork Jailer, keep two versions of it. One version that’s FreeBSD compliant, and another one that is pushing the limits.

This is going to be an interesting week…

That’s all folks…

https://weblog.antranigv.am/posts/2023/03/design-guidelines-vs-pushing-the-limits/

#freebsd #jailer #libucl #lua

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst