aboutsummaryrefslogtreecommitdiffstats
path: root/tools/console.h
AgeCommit message (Collapse)AuthorFilesLines
2023-12-02Use ZixAllocator directlyDavid Robillard1-5/+5
2023-12-02Use ZixStringView directlyDavid Robillard1-3/+3
2023-12-02Use SerdNodes instead of manual memory management in testsDavid Robillard1-3/+0
2023-12-02Add model and serd-sort utilityDavid Robillard1-0/+5
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-02Factor out and rewrite command-line interfaceDavid Robillard1-4/+92
2023-12-02Collapse input and output options into single flagsDavid Robillard1-0/+13
2023-12-02[WIP] Add extensible logging APIDavid Robillard1-1/+4
2023-12-02Factor out serd_choose_syntax()David Robillard1-0/+4
2023-12-02Factor out opening output filesDavid Robillard1-0/+4
2023-12-02Factor out setting base URI from a pathDavid Robillard1-0/+5
2023-12-02Add support for reading multiple files at onceDavid Robillard1-0/+5
2023-12-02Move serdi to tools subdirectoryDavid Robillard1-0/+15
This separates the command-line tool code from the library implementation.