Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
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.
|
|
|
|
Most of the system-specific code will be replaced with calls to portable zix
functions, and the data structures will be used for in-memory node and
statement storage.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Meson includes warning_level=everything as of version 1.0.0, which supercedes
maintaining redundant lists of warning flags here.
|
|
|
|
|
|
|
|
|
|
|
|
Fedora takes issue with CC0. Although it doesn't really matter for this
stuff (dual licensed anyway, questionably "software", certainly not patentable,
and so on), this is simpler and more consistent with the ISC license used for
the actual software anyway.
|
|
This is only used when serd is not a subproject.
|
|
|
|
|
|
|