aboutsummaryrefslogtreecommitdiff
path: root/dump/special-forms.scm
AgeCommit message (Collapse)Author
2023-07-21Make dump-data? default to #f when dumping dataMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Rewrite dump-with-documentation to be order-agnosticMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Conditionally dump documentationMunyoki Kilyungi
2023-07-21Rename auto-documentation-port -> pathMunyoki Kilyungi
We don't need to pass around ports as part of a configuration when we can instead pass in a path that can be used to open a port. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Move dump-configuration record type to (dump documentation)Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Construct example SQL query and expected resultsMunyoki Kilyungi
2023-07-21Print out triples with the from Table.Name or Table.AliasMunyoki Kilyungi
* dump/special-forms.scm (field->datum): New function. (define-dump): Use the field->datum to convert triples into the form Table.Name or Table.Alias. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Add table metadata to triple dumpMunyoki Kilyungi
2023-07-21Add a section sub-heading for schema triplesMunyoki Kilyungi
2023-07-21Wrap the dump title in quotesMunyoki Kilyungi
2023-07-21Replace #` with #'when fetching the name of the defined dumpMunyoki Kilyungi
2023-07-21Conditionally autogenerate schema triples during dumpMunyoki Kilyungi
2023-07-21Rename dump-configuration slotsMunyoki Kilyungi
* dump/special-forms.scm: Export dump-configuration? Rename dump-configuration-table-metadata -> dump-configuration-triples?; dump-configuration-table-dump -> dump-configuration-table-metadata?; and dump-configuration-auto-document-path -> dump-configuration-auto-documentation-port (<dump-configuration>): Ditto renames. (dump-configuration): Ditto. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Make dumping optional, defaulting to #tMunyoki Kilyungi
There may be a case where one just wants to dump metadata about the s-exps only.
2023-07-21Add table-dump? option to dump-configuration recordMunyoki Kilyungi
* dump/special-forms.scm: Export dump-configuration-table-dump?. (<dump-configuration>): Add dump-configuration-table-dump. (dump-configuration): Make table-dump? default to #t. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Optionally self-document while dumpingMunyoki Kilyungi
2023-07-21Add a configuration record-type for for the define macroMunyoki Kilyungi
* dump/special-forms.scm: Import (srfi srfi-9 gnu). (<dump-configuration>): New record-type. (define-dump): Use the above record-type.
2023-06-21Fix failing testsMunyoki Kilyungi
* dump/special-forms.scm: Export map-alist. * tests.scm: Import strings, and special-forms.
2023-05-26Re-organize dumping macros and associated functionsMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>