summaryrefslogtreecommitdiff
path: root/internal
AgeCommit message (Collapse)Author
2023-01-30Invent "barriers" instead of nesting parsersLuke Shumaker
2023-01-30reencode: Rethink CompactIfUnder to have linear memoryLuke Shumaker
2023-01-30Avoid doing type switching in inner functionsLuke Shumaker
The CPU profiler tells me that the encoder is spending a lot of time on type switches.
2023-01-30parse: Simplify the stack states for arraysLuke Shumaker
We already have a wildcard, no need to invent a new state.
2023-01-29Move things between filesLuke Shumaker
2023-01-29parse: Add an example of how the stack works for arrays, add testsLuke Shumaker
2023-01-29parse: Add a runeTypeAny instead of overloading RuneTypeErrorLuke Shumaker
It was confusing.
2023-01-29HexToInt: No need to be genericLuke Shumaker
It's only used with a rune.
2023-01-29Move the base64 decode to the internal packageLuke Shumaker
2023-01-29.golangci.yml: Turn on 'dupl', fixLuke Shumaker
2023-01-29.golangci.yml: Turn on formatting linters 'gci' and 'gofumpt', fixLuke Shumaker
All formatting changes are made by ./tools/bin/golangci-lint run --fix ./...
2023-01-29Improve/fix documentation and commentsLuke Shumaker
2023-01-29parse: Change the StringBeg/StringEnd symbolsLuke Shumaker
IDK if my eyes are worse, or something changed with my font stack, but I can no longer visually distinguish “ and ” so use " and » instead. Plus » psycologically registers as "kinda special", so it's less confusing to see as an object-thing in a stack.
2023-01-26Write documentationv0.2.0Luke Shumaker
2023-01-26Move the Parser to the internal packageLuke Shumaker
2022-09-19Give every .go file an SPDX-License-IdentifierLuke Shumaker
2022-08-16Indicate why each of the lines in borrowed files were MODIFIEDLuke Shumaker
2022-08-15Create a compat/json compatibility libraryLuke Shumaker