Atom

Embedded assets

Save as asset.atom. Create title.txt in the working directory and package it with atom build asset.atom -o asset-app --resource title=title.txt or the corresponding publish command on a supported platform. Run the resulting executable.

asset.atom
use binary
use resource

print(binary.text(resource.read('title')))

An emitted C application can use the embedding CMake project with app.c as the source and Atom::Static as the target library.