aboutsummaryrefslogtreecommitdiff
path: root/core/encoding
Commit message (Collapse)AuthorAgeFilesLines
...
* | [xml] Implement optional unboxing of CDATA and decoding of tag values.Jeroen van Rijn2021-12-054-93/+56
| |
* | [core:encoding/entity] Add new package to decode &<entity>; entities.Jeroen van Rijn2021-12-056-2/+8020
| | | | | | | | Includes generator to generate a lookup for named entitiess.
* | [xml] Improvements.Jeroen van Rijn2021-12-054-32/+94
| |
* | [xml] Improve CDATA + comment handling in tag body.Jeroen van Rijn2021-12-052-57/+96
| |
* | [xml] Slight optimization.Jeroen van Rijn2021-12-052-28/+38
| | | | | | | | | | | | About a 5% speed bump. More rigorous optimization later.
* | [xml] Robustness improvement.Jeroen van Rijn2021-12-052-24/+55
| | | | | | | | Can now parse https://www.w3.org/2003/entities/2007xml/unicode.xml no problem.
* | [xml] Allow multi-line bodies w/o CDATA. Strip trailing whitespace.Jeroen van Rijn2021-12-052-6/+24
| |
* | [xml] Tab indentation in debug printer.Jeroen van Rijn2021-12-051-4/+3
| |
* | [xml] Use `io.Writer` for `xml.print(doc)`.Jeroen van Rijn2021-12-053-25/+36
| |
* | [xml] Small cleanup.Jeroen van Rijn2021-12-051-11/+1
| |
* | [xml] Initial implementation of `core:encoding/xml`.Jeroen van Rijn2021-12-054-0/+1118
|/ | | | | | | | | | | | | | | | | | | | | | | | A from-scratch XML implementation, loosely modeled on the [spec](https://www.w3.org/TR/2006/REC-xml11-20060816). Features: - Supports enough of the XML 1.0/1.1 spec to handle the 99.9% of XML documents in common current usage. - Simple to understand and use. Small. Caveats: - We do NOT support HTML in this package, as that may or may not be valid XML. If it works, great. If it doesn't, that's not considered a bug. - We do NOT support UTF-16. If you have a UTF-16 XML file, please convert it to UTF-8 first. Also, our condolences. - <[!ELEMENT and <[!ATTLIST are not supported, and will be either ignored or return an error depending on the parser options. TODO: - Optional CDATA unboxing. - Optional `&gt;`, `&#32;`, `&#x20;` and other escape substitution in tag bodies. - Test suite MAYBE: - XML writer? - Serialize/deserialize Odin types?
* Fix minor issue with unmarshal for booleansgingerBill2021-11-131-0/+1
|
* Add json encoding test + fix enum not being set on success.Daniel Gavin2021-11-072-5/+6
|
* Fix json.marshal for MatrixgingerBill2021-10-201-0/+3
|
* Remove dead codegingerBill2021-10-021-17/+0
|
* Add alias for `MJSON` as `Bitsquid`gingerBill2021-10-021-0/+1
|
* Improve reflect.Type_Info_Complex supportgingerBill2021-09-291-1/+15
|
* Add more support for complex typesgingerBill2021-09-292-21/+29
|
* Clean up `json.marshal_to_writer`gingerBill2021-09-291-36/+12
|
* Remove `fmt` dependencygingerBill2021-09-292-4/+1
|
* Improve `json.marshal` error handling for `io.Writer`; Add docs for the ↵gingerBill2021-09-294-102/+224
| | | | different JSON specifications
* Improve MJSON handlinggingerBill2021-09-283-66/+83
|
* Support `json.Specification.MJSON`gingerBill2021-09-285-173/+201
| | | | https://bitsquid.blogspot.com/2009/10/simplified-json-notation.html
* Make it clear that integers are parsed separately from floatsgingerBill2021-09-281-7/+6
|
* Allow for `union{T}` like types in `json.unmarshal`gingerBill2021-09-251-54/+61
|
* Add `json.unmarshal`gingerBill2021-09-255-21/+605
|
* Strip even more semicolons if followed by a `}` or `)` on the same linegingerBill2021-08-312-7/+7
|
* Remove unneeded semicolons from the core librarygingerBill2021-08-3112-1072/+1072
|
* Add multi pointers to coregingerBill2021-08-211-0/+3
|
* Update package encoding/json for `or_return`gingerBill2021-08-151-24/+6
|
* Add more uses of `or_return`gingerBill2021-08-151-31/+10
|
* Replace uses of `err != nil` with `or_return` where appropriategingerBill2021-08-151-53/+32
|
* Fix typogingerBill2021-08-151-0/+1
|
* Add package `core:encoding/hxa`gingerBill2021-08-094-0/+705
|
* [Breaking] Change the layout `json.Value` to be a `union` rather than a ↵gingerBill2021-08-084-103/+83
| | | | `struct` of a `json.Pos` and the union
* Remove package core:encoding/celgingerBill2021-08-083-1426/+0
|
* CEL: Fix ISE.Jeroen van Rijn2021-08-081-52/+52
|
* Core library clean up: Make range expressions more consistent and replace ↵gingerBill2021-06-144-23/+23
| | | | uses of `..` with `..=`
* Implement `f16` functionalitygingerBill2021-04-011-0/+1
|
* Make base32 and base64 adhere to `-strict-style`gingerBill2021-03-142-4/+4
|
* Make trailing comma usage consistentgingerBill2021-03-131-1/+1
|
* Remove `#opaque` typesgingerBill2021-02-231-3/+0
|
* Remove `bit_field` in type info, runtime, and general core librarygingerBill2021-02-191-28/+0
|
* vet all core packagesgingerBill2021-01-093-4/+2
|
* Add encoding/csv WritergingerBill2021-01-092-18/+165
|
* Add encoding/csv `Reader`gingerBill2021-01-081-0/+406
|
* Integrate `package io` into core librarygingerBill2020-12-031-2/+3
|
* Remove unused variablegingerBill2020-11-251-2/+0
|
* Update package json for new map layout; Correct llvm-api includes for *nixgingerBill2020-11-251-4/+4
|
* Remove usage of `do` in core librarygingerBill2020-09-237-70/+104
|