tree: a28b1b781573abe705e50337d259c817737fc995 [path history] [tgz]
  1. bzcat/
  2. cbor-to-json/
  3. convert-to-nia/
  4. crc32/
  5. gifplayer/
  6. imageviewer/
  7. json-to-cbor/
  8. jsonfindptrs/
  9. jsonptr/
  10. sdl-imageviewer/
  11. toy-genlib/
  12. zcat/

Wuffs' Example Programs

This directory contains example programs that use Wuffs the Library. See Hello wuffs-c for an example program that uses Wuffs the Language and its wuffs-c compiler.

Other than the toy-* examples, all of these programs do real work. They‘re not just programming language toys at the “calculate the Fibonacci sequence” level of triviality. For example, the example/crc32 and example/zcat programs are roughly equivalent to Debian Linux’s /usr/bin/crc32 and /bin/zcat programs.


Running from the top level directory will build all of the examples. To check out and build just one, such as jsonptr:

git clone
cd wuffs
./ example/jsonptr

When re-building, you only need the last of those three lines. To run it:

gen/bin/example-jsonptr test/data/json-things.unformatted.json