Age | Commit message (Collapse) | Author |
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump/strings.scm: Export string-capitalize-first
(string-capitalize-first): New function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
This reverts commit 195ca590be5533935cf708d49fcb3736b3c78643.
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump/documentation.scm (dump): Export call-with-documentation.
(call-with-documentation): New function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
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>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
|
|
* dump/triples.scm (scm->triples): Make define have an optional arg fn
that defaults to "triple".
|
|
* dump/triples.scm (triple): Add port as an optional argument.
Defaults to #t. This enables us to use triple to print to other ports
E.g in the case of dumping documentation to a different file.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* 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>
|
|
|
|
|
|
|
|
|
|
* dump/schema-dump.scm (dump-schema-annotations): Replace
call-with-genenetwork-database with call-with-target-database.
|
|
|
|
* 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>
|
|
There may be a case where one just wants to dump metadata about the
s-exps only.
|
|
* 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>
|
|
|
|
* dump/special-forms.scm: Import (srfi srfi-9 gnu).
(<dump-configuration>): New record-type.
(define-dump): Use the above record-type.
|
|
* dump/special-forms.scm: Export map-alist.
* tests.scm: Import strings, and special-forms.
|
|
* dump/strings.scm (sanitize-rdf-string): Add extra elements---broken
chars---to replace with "".
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Replacing "~s" with "~a" will print utf-8 characters correctly.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump.scm (annotate-field): New function.
* dump/triples.scm (triple): Print a string as they appear with
DISPLAY should they contain "\"" thus enabling a triple that looks
like:
gn:species_mus_musculus gn:name "Mouse"^^xsd:string
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump/utils.scm: Import srfi-19. Export time-unix->string.
(time-unix->string): New function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump/triples.scm: Export ontology.
(ontology): New function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|