Skip to content

rolispr/canary

Repository files navigation

canary

elm/tea inspired tui in guile. see DESIGN.md for architecture, examples/counter.scm for a worked example, SHIPPING.md for producing single-file binaries of canary apps that run on machines with no Guile installed.

run

linux (guix)

guix shell -m manifest.scm -- guile -L . examples/counter.scm

manifest.scm pins guile-next, guile-fibers, gcc-toolchain, gnu-make, git.

macos

brew install guile guile-fibers

homebrew's guile doesn't auto-add its site dirs to the load path, so export them (per brew info guile):

export GUILE_LOAD_PATH=/opt/homebrew/share/guile/site/3.0
export GUILE_LOAD_COMPILED_PATH=/opt/homebrew/lib/guile/3.0/site-ccache
export GUILE_SYSTEM_EXTENSIONS_PATH=/opt/homebrew/lib/guile/3.0/extensions

then:

guile -L . examples/counter.scm

make

target
make compile guild compile canary/*.scm to build/canary/*.go
make test run tests/test-*.scm under srfi-64
make lint reject ansi escapes outside backend-ansi/terminal
make repl guile --listen=37147 for geiser
make tool-install install canary-build into ~/.local/bin/; see SHIPPING.md
make tool-test smoke canary-build ship against the counter example

About

An Elm/Tea like TUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors