TreeLDR Quickstart
This quickstart covers the installation of TreeLDR on Linux and macOS, the definition of a simple TreeLDR schema with the creation of a JSON Schema and JSON-LD context derived from it, and finally its integration in a Rust program.
Installation
TreeLDR can be installed by first cloning the git repository which contains the different libraries composing the TreeLDR language, the compiler library, and its modules. After that, you can use cargo
to build and install the compiler from the directory:
This will install the TreeLDR compiler inside your $HOME/.cargo/bin
folder by default. Make sure to add this folder to your $PATH
before running tldrc
. You can check that TreeLDR is correctly installed and accessible by calling tldrc
:
Last updated