Add more hello-wuffs-c commentary

This commit is contained in:
Nigel Tao committed 2022-01-01 16:36:33 +11:00
1 parent 0a8bded7f3
commit f3a7288357
5 files changed
+83 -25

No files matched your search

+5 -5
View File
@@ -22,10 +22,10 @@ CC=${CC:-gcc}
# beforehand, to install the wuffs-c compiler.
wuffs-c gen -package_name demo < parse.wuffs > parse.c
echo --- C Implementation prints ---
$CC main.c naive-parse.c
./a.out
echo --- C Implementation Prints ---
$CC main.c naive-parse.c -o n.out
./n.out
echo ------ Wuffs Impl Prints ------
$CC main.c wuffs-parse.c
./a.out
$CC main.c wuffs-parse.c -o w.out
./w.out