Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-12-02 | Add SERD_READ_ORDERED to preserve blank node ordering in models | David Robillard | 1 | -0/+4 | |
2023-12-02 | Add model and serd-sort utility | David Robillard | 4 | -3/+215 | |
With all the new functionality, the complexity of the serd-pipe command-line interface is starting to push the limits of available flags. So, instead of grafting on further options to control a model, this commit adds a new tool, serd-sort, which acts somewhat like a stripped-down serd-pipe that stores statements in a model in memory. This keeps the complexity (including the user-facing complexity) of any one tool down, since other more focused tools can be used for streaming tasks in a pipeline. In other words, abandon Swissarmyknifeism, take a page from the Unix philosophy, and try to expose the model functionality to the command-line in a dedicated focused tool. The model implementation is tested by using this tool to run a subset of the usual test suites, and a special suite to test statement sorting. | |||||
2023-12-02 | Add statement filter sink and serd-filter tool | David Robillard | 3 | -0/+176 | |
2023-12-02 | Add "longhand" mode to write rdf:type predicates normally | David Robillard | 1 | -0/+5 | |
2023-12-02 | Factor out and rewrite command-line interface | David Robillard | 1 | -40/+58 | |
2023-12-02 | Make blank node prefixing automatic | David Robillard | 1 | -33/+0 | |
Though potentially useful, I don't think the complexity cost of the old interface (both to the implementation and to the user) is worth it. A special tool to transform blank node labels (for example with regular expressions) would be a better approach to this if it's ever needed in the future. | |||||
2023-12-02 | Split SERD_READ_VERBATIM into two more precise flags | David Robillard | 1 | -8/+16 | |
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-02 | Add a reader flag to disable generated blank label avoidance | David Robillard | 1 | -0/+8 | |
2023-12-02 | Collapse input and output options into single flags | David Robillard | 1 | -41/+70 | |
2023-12-02 | [WIP] Add support for converting literals to canonical form | David Robillard | 1 | -1/+13 | |
2023-12-02 | Add command-line option to write output to a file | David Robillard | 1 | -14/+50 | |
2023-12-02 | [WIP] Add extensible logging API | David Robillard | 1 | -0/+26 | |
2023-12-02 | [WIP] Add support for reading and writing variables | David Robillard | 1 | -1/+7 | |
[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 option | David Robillard | 1 | -4/+7 | |
This is more powerful, and reduces the number of command line options that almost nobody needs to care about. | |||||
2023-12-02 | Add support for reading multiple files at once | David Robillard | 1 | -2/+2 | |
2023-12-02 | Simplify handling of input string arguments | David Robillard | 1 | -1/+1 | |
2023-12-02 | Add base URI command-line option | David Robillard | 1 | -1/+8 | |
2023-12-02 | Rename serdi to serd-pipe | David Robillard | 2 | -9/+9 | |
2023-12-02 | Add empty syntax type for suppressing output | David Robillard | 1 | -4/+11 | |
2023-12-02 | Add support for writing terse output with minimal newlines | David Robillard | 1 | -1/+3 | |
2023-12-02 | Use a fixed-size reader stack | David Robillard | 1 | -0/+7 | |
2023-12-02 | Remove serd_uri_to_path() | David Robillard | 1 | -1/+1 | |
2023-10-22 | Serd 0.32.0v0.32.0 | David Robillard | 1 | -1/+1 | |
2023-09-22 | Move man pages to their own directory | David Robillard | 3 | -0/+533 | |