aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
AgeCommit message (Collapse)AuthorFilesLines
2018-05-27Remove unused parameters from emit_statementDavid Robillard1-5/+1
2018-05-27Simplify stack management by popping in bulk at higher levelsDavid Robillard1-19/+8
Since all memory used by the reader is POD in the stack, there is no benefit to forcing code to explicitly pop everything pushed to the stack, since any function can record an offset and pop back down to it regardless of what its callers pushed if it knows that it does not need those items.
2018-05-27Use fixed size stackDavid Robillard1-28/+32
2018-05-27Clean up includes and improve source file separationDavid Robillard1-5/+6
2018-05-27Move system utilities to separate source filesDavid Robillard1-0/+1
2018-05-27Hide fopen wrapper and use reader interface consistentlyDavid Robillard1-32/+25
2018-05-27Move error handling to worldDavid Robillard1-1/+1
2018-05-27Add SerdWorld for shared library stateDavid Robillard1-11/+4
2018-05-27Remove redundant SERD_API declarationsDavid Robillard1-13/+0
2018-05-27Add SerdSinkInterface and hide implementationsDavid Robillard1-32/+12
2018-05-27Fix byte source to never read past end of stringsDavid Robillard1-8/+4
2018-05-27Clean up and separate internal headersDavid Robillard1-0/+2
2018-05-27Merge datatype and/or language into nodeDavid Robillard1-1/+1
This moves closer to the sord API, and is more convenient in most cases.
2018-05-27Simplify reader interfaceDavid Robillard1-78/+38
2018-05-27Make nodes opaqueDavid Robillard1-14/+8
2018-05-27Make serd_strtod API const-correctDavid Robillard1-1/+1
This is an API breakage, but a minor one (particularly since NULL is allowed) that avoids the flaw in the C API.
2018-05-27Use char* for strings in public APIDavid Robillard1-25/+25
The constant casting just makes user code a mess, for no benefit.
2018-05-27Remove useless character countingDavid Robillard1-2/+2
2018-02-04Factor out syntax-specific reader implementationDavid Robillard1-1601/+37
2018-02-04Factor out is_xdigitDavid Robillard1-5/+4
2018-01-04Open files in binary mode to preserve line endings on WindowsDavid Robillard1-1/+1
2017-11-05Move cursor from reader to byte sourceDavid Robillard1-25/+3
2017-11-05Move EOF flag from reader to byte sourceDavid Robillard1-11/+8
2017-11-05Factor out namespace definesDavid Robillard1-3/+0
2017-11-05Remove unused typedefDavid Robillard1-2/+0
2017-11-05Reset status when skipping lines for lax parsingDavid Robillard1-1/+1
2017-11-05Make reader strict by defaultDavid Robillard1-0/+1
2017-09-24Don't smash error status when lax parsingDavid Robillard1-1/+4
2017-09-24Report error on unexpected object endDavid Robillard1-4/+2
2017-09-24Make serdi syntax options case-insensitiveDavid Robillard1-8/+1
2017-09-23Add basic error tolerant parsing for line-based formatsDavid Robillard1-1/+15
2017-09-23Improve error reportingDavid Robillard1-9/+12
2017-09-23Fix potential use of uninitialized variableDavid Robillard1-2/+2
2017-09-23Report errors when lax parsingDavid Robillard1-3/+5
2017-09-23Report errors for all failing test casesDavid Robillard1-3/+8
2017-09-23Remove duplicated codeDavid Robillard1-12/+2
2017-09-23Report errors for directives or abbreviations in NTriples or NQuadsDavid Robillard1-1/+14
2017-09-23Simplify syntax support checkingDavid Robillard1-10/+4
2017-08-29Fix building with MSVCDavid Robillard1-3/+4
2017-08-28Report errors for prematurely terminated statementsDavid Robillard1-2/+4
2017-07-30Support strict parsing of prefixed namesDavid Robillard1-29/+84
2017-07-30Make read_PN_CHARS functions return a status codeDavid Robillard1-22/+19
2017-07-30Cleanup: Add push_bytes function to reduce code verbosityDavid Robillard1-13/+9
2017-07-10Fix hangs when reading corrupt UTF-8David Robillard1-22/+21
2017-07-10Fix potential use of uninitialized variableDavid Robillard1-3/+3
2017-07-10Factor out UTF-8 character size countingDavid Robillard1-8/+2
2017-06-30Use consistent parameter namesDavid Robillard1-31/+31
2017-06-30Fix spurious error message when parsing empty filesDavid Robillard1-7/+11
2017-06-30Fix various clang-tidy issuesDavid Robillard1-43/+40
2017-06-29Fix strict parsing of abolute URI schemesDavid Robillard1-17/+26