aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-12-02Leave statement caret at the start of literalsDavid Robillard4-5/+80
This allows a precise location to be reported for errors within literals, by adding the offset of the error in the literal to the caret. This will be used to report nice errors for things like regular expressions and supported XSD datatypes.
2023-12-02[WIP] Add extensible logging APIDavid Robillard22-173/+798
2023-12-02[WIP] Preserve anonymous graph syntax in TriGDavid Robillard4-7/+11
[WIP] Untested
2023-12-02[WIP] Add support for reading and writing variablesDavid Robillard30-23/+271
[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 Robillard5-39/+34
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 Robillard11-44/+222
2023-12-02Simplify handling of input string argumentsDavid Robillard3-13/+18
2023-12-02Add base URI command-line optionDavid Robillard7-20/+71
2023-12-02Rename serdi to serd-pipeDavid Robillard23-81/+86
2023-12-02Move serdi to tools subdirectoryDavid Robillard9-22/+43
This separates the command-line tool code from the library implementation.
2023-12-02Factor out command line version printingDavid Robillard3-19/+24
2023-12-02Factor out Windows UTF-8 console setup codeDavid Robillard4-13/+37
2023-12-02Remove datatype arguments from integer and base64 constructorsDavid Robillard3-27/+22
2023-12-02Simplify output stream APIDavid Robillard16-194/+449
2023-12-02Simplify input stream APIDavid Robillard21-308/+561
2023-12-02Rename SerdErrorFunc to SerdLogFuncDavid Robillard5-15/+15
2023-12-02Reduce complexity of URI parsing codeDavid Robillard3-101/+98
2023-12-02Make serd_writer_set_root_uri() take a string viewDavid Robillard3-9/+6
This is generally more convenient, and the node was just being copied anyway.
2023-12-02Make SerdBuffer an output streamDavid Robillard9-65/+89
2023-12-02Factor out and expose serd_write_file_uri()David Robillard13-93/+116
2023-12-02Strengthen handling of corrupt UTF-8 inputDavid Robillard12-42/+234
2023-12-02Improve URI read performanceDavid Robillard1-15/+12
2023-12-02Use tighter types for UTF-8David Robillard3-17/+19
2023-12-02Support writing all escapes in Turtle and TriG prefixed namesDavid Robillard7-77/+158
2023-12-02Simplify reading code with TRY_LAX macroDavid Robillard1-14/+14
2023-12-02Separate Turtle and TriG reading codeDavid Robillard9-153/+405
2023-12-02Reduce complexity of Turtle and TriG block reading functionsDavid Robillard1-87/+108
2023-12-02Reduce complexity of Turtle object reading codeDavid Robillard1-41/+66
2023-12-02Factor out and expose prefixed name predicatesDavid Robillard5-63/+63
Towards using these in the writer to escape names more precisely.
2023-12-02Factor out NQuads readerDavid Robillard10-113/+178
2023-12-02Factor out NTriples readerDavid Robillard16-528/+1084
2023-12-02Factor out UTF-8 reading utilitiesDavid Robillard4-85/+134
2023-12-02Use Zix attributes directlyDavid Robillard34-338/+355
2023-12-02Use portable zix filesystem API in testsDavid Robillard4-57/+39
2023-12-02[WIP] Add zix dependencyDavid Robillard7-5/+32
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.
2023-12-02Make r_err take a single line without trailing newlineDavid Robillard4-57/+57
Towards having an actual logging (rather than printing) mechanism.
2023-12-02Add assertions for all non-null pointers in the public APIDavid Robillard11-2/+112
2023-12-02Make serd_env_expand_in_place() take a string view instead of a nodeDavid Robillard3-8/+11
2023-12-02Clean up SerdEnv testsDavid Robillard1-65/+249
2023-12-02Add serd_env_copy() and serd_env_equals()David Robillard3-0/+100
2023-12-02Split up serd_env_expand() implementationDavid Robillard1-17/+35
2023-12-02Simplify SerdEnv APIDavid Robillard5-75/+117
2023-12-02Make serd_uri_string_length() precise and add it to public APIDavid Robillard3-22/+58
2023-12-02Test lax NTriples parsing separatelyDavid Robillard14-25/+89
2023-12-02Support reading lone lists in lax modeDavid Robillard4-1/+11
This allows parsing documents like "(42) ."
2023-12-02Simplify ByteSource implementationDavid Robillard2-29/+20
2023-12-02Be precise about the meaning of node "length" and "size"David Robillard4-39/+36