Examples

Examples of hof in action.

The hof source code and GitHub repository is the primary example currently. It is self-hosted and uses all of the concepts and techniques throughout.

Source of Truth Designs

1
2
hof.cue
design/

Code Generation

1
2
3
hof.cue
cmd/hof/
gen/

https://github.com/hofstadter-io/hofmod-cli

Testing with hof

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
test.cue

cmd/hof/cmd/*_test.go

script/
script/runtime
script/shell

lib/mod
lib/structural

Last modified September 16, 2020: checkpoint for new content org (ed22f1f)