8000 GitHub - cladam/hica-launcher: A launcher for the hica ecosystem · GitHub
[go: up one dir, main page]

Skip to content

About

A launcher for the hica ecosystem

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

hica-launcher

Hica Launcher is a native Hica/ImGui application. It currently opens a desktop window with an empty catalog state; application discovery, downloads, and installation are not implemented yet. See docs/PRD-hica-launcher.md if you have the local product requirements document.

Usage

Requires Hica, SDL2, and the ImGui library configured in hica.hml. The checked-in lib/libimgui_hica.a and linker flags currently target macOS with Homebrew SDL2.

hica check  # type-check without building
hica build  # compile to binary
hica run    # compile and open the window

Catalog

catalogue.hml is the curated application catalog. It contains the user-supplied cladam/tbdflow-ui entry, translated from examples/catalogue.json with trailing description whitespace removed. The pure parser in src/catalogue.hc is tested, but build-time embedding and UI integration are not implemented yet; the window still displays the static empty state. Inclusion does not establish a verified release or installation contract.

Entries use repeated @app elements with three required string fields:

@app {
	name: "Confirmed app name"
	repo: "owner/repository"
	description: "Application description"
}

This is a schema example, not a confirmed application. Properties are newline-delimited. Validation rejects missing, blank, non-string, duplicate, and unknown fields, malformed GitHub repository IDs, unexpected document structures, and duplicate repositories (case-insensitive). An invalid entry rejects the entire catalog with an error.

hica test tests/test_catalogue.hc
hica run examples/catalogue_demo.hc

Run the headless example from the repository root to print the actual HML catalog. It reports file and validation errors with exit code 1. For an explicit path (including when running outside the repository), build the example and invoke its executable:

hica build examples/catalogue_demo.hc
./examples/catalogue_demo /absolute/path/to/catalogue.hml

This file-reading example is a verification tool, not the launcher's runtime loading strategy. Example module names must differ from imported module names; otherwise generated Koka imports can resolve to the example itself.

About

A launcher for the hica ecosystem

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0