- Add
prettyInline
for layout-free pretty-printing
- Fix pretty-printing bug with long string literals
- Add
+
and-
to the set of layout-based list syntax bullets. All elements of the list are checked to see that a consistent bullet is used. Different bullets might be used to help make nested lists more understandable.-
might be used to make things look more like YAML
-
Allow underscores in number literals Copied from https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0076-numeric-underscores.rst#new-syntax-this-proposal
Underscores are allowed and ignored
- in the middle of integer-parts of the literal syntax
- between base-markers (0x, 0o, 0b) and number part
- before the
eEpP
part of an exponent
- Allow atoms and section names to start with
@
or$
- Add
Config.Macro
module
- Fix pretty-printing of fractional, hexadecimal numbers
- Updated number representation to preserve fractional part
and added new
Config.Number
module with operations on this new type.
- Build on GHC 8.4.1
- Add
valuePlate
- Fixed error output for unexpected floating point literal
- Nicer errors on unterminated inline lists and sections.
- Stop enforcing well-formed text files
- Add vim syntax highlighting file
- Fix string gaps, they shouldn't require a newline
- Annotate
Value
with file positions - Derive
Generic1
instances forValue
- Allow trailing commas in lists and section lists
- Support inline section lists using
{}
- Add more documentation
- Add support for floating-point numbers
- Internal lexer and parser improvements
- Added support for
\&
escape sequence
- Loosen version constraints to build back to GHC 7.4.2
- Remove unused bytestring dependency
- Make
Atom
a newtype to help distinguish it fromText
- Add
values
traversal for traversing individual elements of a list
- Replace
yes
andno
with generalized atoms - Add character index to error position
- Add human readable error messages
- Take
Text
as the input toparse
- Added
Config.Lens
module - Added aligned fields to pretty printer
- Initial release