Commit Graph

18 Commits

Author SHA1 Message Date
Nathan McRae
c8202b4f9a Implement static typing column-spec
By creating a class inheriting from SaneTsvRecord with properties
decorated with SaneTsvColumn attributes
2024-02-20 14:30:01 -08:00
Nathan McRae
0b7a920096 Only keep column names in SaneTsvRecord
We don't need to reference the parent
2024-02-19 21:03:48 -08:00
Nathan McRae
aee67e457e Fix Typed TSV serialization
And add inf serializing/parsing to floats
2024-02-17 20:44:07 -08:00
Nathan McRae
457ef1df01 Add Typed TSV serialization 2024-02-17 12:54:32 -08:00
Nathan McRae
8795a2873a Add parsing for binary floats 2024-02-16 21:26:35 -08:00
Nathan McRae
067172c1a1 Add binary floating-point types 2024-02-16 17:20:11 -08:00
Nathan McRae
d4eefe4202 Make comments not end with \n 2024-02-15 20:24:44 -08:00
Nathan McRae
b56665f5f4 Document that ParseCurrentRecord modifies parsed 2024-02-15 20:24:31 -08:00
Nathan McRae
832cce033c Add Line field to SaneTsvRecord
So extending formats can have line information
2024-02-15 20:24:01 -08:00
Nathan McRae
2dd6b1e25b Change column type implementation
Use types instead of an enum so it's more easily extended.
2024-02-15 20:22:43 -08:00
Nathan McRae
ddbda890cf Remove Columns from SaneTsv
To simplify object manipulation for now. Note that this got rid of uniqueness checking
for the current implementation.
2024-02-15 14:22:04 -08:00
Nathan McRae
acf083ac6c 'Sane' -> 'Simple' for first format
Change the naming so the overall family of formats is Sane TSV, while the simplest
format is Simple TSV.
2024-02-15 12:52:27 -08:00
Nathan McRae
34c69c1c69 Add basic serialization 2024-02-15 11:57:45 -08:00
Nathan McRae
8673e6a7df Add comment parsing 2024-02-14 18:31:58 -08:00
Nathan McRae
de5eb2018c Add different types of parsing 2024-02-14 16:16:23 -08:00
Nathan McRae
d034bac857 Add default namespaces 2024-02-14 15:34:06 -08:00
Nathan McRae
d199984364 Add type parsing 2024-02-14 14:30:36 -08:00
Nathan McRae
695f98b67c Move .NET implementation to SaneTsv 2024-02-13 19:15:07 -08:00