aboutsummaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2023-12-02Split SERD_READ_VERBATIM into two more precise flagsDavid Robillard1-1/+2
Although the "verbatim" idea is nice and simple, more fine-grained control is necessary since these features (relative URI preservation and blank node label clash avoidance) are useful in different situations.
2023-12-02Add a reader flag to disable generated blank label avoidanceDavid Robillard1-0/+1
2023-12-02Collapse input and output options into single flagsDavid Robillard3-41/+112
2023-12-02[WIP] Add support for converting literals to canonical formDavid Robillard1-8/+17
2023-12-02[WIP] Generalize node construction APIDavid Robillard2-5/+6
2023-12-02Add support for custom allocatorsDavid Robillard2-10/+11
This makes it explicit in the API where memory is allocated, and allows the user to provide a custom allocator to avoid the use of the default system allocator for whatever reason.
2023-12-02Add command-line option to write output to a fileDavid Robillard1-2/+11
2023-12-02[WIP] Simplify reader and writer flagsDavid Robillard1-1/+1
[WIP] Testing?
2023-12-02[WIP] Move SerdEnv mutation from writer to readerDavid Robillard1-4/+5
Writing having side-effects seems questionable in general, and this prepares things for expanding URIs in the reader.
2023-12-02[WIP] Add extensible logging APIDavid Robillard3-16/+14
2023-12-02[WIP] Add support for reading and writing variablesDavid Robillard1-1/+5
[WIP] Command line option, move later? This adds a reader flag and serdi option for extending a syntax with support for SPARQL-like variables, for storing things like patterns or simple queries.
2023-12-02[TESTED] Replace -b and -e options with a block size optionDavid Robillard1-15/+20
This is more powerful, and reduces the number of command line options that almost nobody needs to care about.
2023-12-02Factor out serd_choose_syntax()David Robillard3-5/+25
2023-12-02Factor out opening output filesDavid Robillard3-7/+23
2023-12-02Factor out setting base URI from a pathDavid Robillard3-11/+27
2023-12-02Add support for reading multiple files at onceDavid Robillard3-39/+165
2023-12-02Simplify handling of input string argumentsDavid Robillard1-11/+15
2023-12-02Add base URI command-line optionDavid Robillard1-5/+11
2023-12-02Rename serdi to serd-pipeDavid Robillard2-11/+8
2023-12-02Move serdi to tools subdirectoryDavid Robillard5-0/+381
This separates the command-line tool code from the library implementation.