Gelite compiles a Gel-like schema and query language to SQLite. The current CLI can plan an initial schema, apply initial and supported append-only schemas, and compile or execute queries through the REPL.
From the repository root:
cargo run -p gelite-cli -- schema apply examples/organization.geli --database organization.dbThis creates a SQLite database for the organization example. Re-running the command with a supported append-only schema preserves existing rows and records the new schema version. Identical schemas are a no-op.
cargo run -p gelite-cli -- repl --database organization.dbEnter each query without a trailing semicolon. Regular Enter continues while
braces are unbalanced. Alt+Enter inserts a newline without submitting input.
Use --schema instead when only compilation and rendered SQL are needed:
cargo run -p gelite-cli -- repl --schema examples/organization.geli --debug \
'select Employee { name } filter .active = true'The --schema mode does not open a database or execute the query. The
--database mode loads the catalog stored in the database and executes the
current select, insert, update, and delete subsets, including explicit
multi-link add/remove updates.
Continue with the Examples overview and choose one of the three runnable domains.
Install the same mdBook version used by CI, then run:
cargo install mdbook --version 0.5.4 --locked
mdbook serve docsThe Markdown under docs/src is also readable directly on GitHub.