[examples] rearrange examples to give big examples their own folder; add hand written files for type info example

This commit is contained in:
Allen Webster
2021-09-19 16:28:06 -07:00
parent 0a07520fac
commit 2be6caf79a
14 changed files with 91 additions and 7 deletions
+10 -5
View File
@@ -9,12 +9,17 @@ cd ..
echo "~~~ Build All Exampes ~~~"
bin/bld_core.sh show_ctx
metasrc="examples/metaprograms"
examps="examples"
bin/bld_core.sh unit type_metadata $metasrc/type_metadata.c
bin/bld_core.sh unit parse_check $metasrc/parse_check.c
bin/bld_core.sh unit user_errors $metasrc/user_errors.c
bin/bld_core.sh unit datadesk_like $metasrc/datadesk_like_template.c
bin/bld_core.sh unit type_metadata $examps/type_metadata/type_metadata.c
bin/bld_core.sh unit hello_world $examps/intro/hello_world.c
bin/bld_core.sh unit parse_check $examps/intro/parse_check.c
bin/bld_core.sh unit datadesk_like $examps/intro/datadesk_like_template.c
bin/bld_core.sh unit user_errors $examps/user_errors/user_errors.c
if [ -d $examps/type_metadata/generated/type_info_meta.h ]; then
bin/bld_core.sh unit type_info $examps/type_metadata/type_info_final_program.c
fi
echo