Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-04-10 | add type substitutions to serde_dhall | stuebinm | 1 | -0/+13 | |
this adds subsititutions, which work similar to the `Dhall.substitutions` mechanism of the Haskell dhall package, and which can be used e.g. like this: ```rust serde_dhall.from_str(...) .substitute_names(hashmap!["Newtype" => static_type]) .parse::<SimpleType>()? ``` The idea behind this is to make it easy to add programmer-defined types which may be used in configs for programs, without forcing the program's users to re-import the same type definitions each time (or the programmers to keep the dhall-based definitions in sync with their rust types, since these are now generated automatically). Caveats so far: - makes some of the code ugly (dhall internals are now used in serde_dhall/src/lib.rs, for example) - haven't tested error messages so far - some unecessary copying of strings and static type values | |||||
2021-04-03 | Avoid ambiguity from use of Itertools::intersperse. | Ceri Storey | 1 | -3/+1 | |
2020-11-01 | Untangle caching code | Nadrieril | 4 | -6/+5 | |
2020-10-30 | Roll our own Value for binary decoding | Nadrieril | 1 | -12/+162 | |
2020-10-30 | Don't use serde_cbor::Value in binary encoding | Nadrieril | 1 | -40/+40 | |
2020-10-28 | No need to escape underscores in pretty-printing | Nadrieril | 1 | -1/+3 | |
2020-10-28 | Prefer u64/i64 to usize/isize | Nadrieril | 2 | -6/+5 | |
2020-10-27 | Make `SimpleValue` deserializable within other types | Nadrieril | 1 | -0/+1 | |
Fixes https://github.com/Nadrieril/dhall-rust/issues/184 | |||||
2020-10-25 | Implement Text/replace | Basile Henry | 1 | -0/+2 | |
2020-09-14 | spec: Enable `with` optimizations | Nadrieril | 5 | -22/+34 | |
2020-06-25 | spec: allow trailing delimiters | Nadrieril | 1 | -6/+7 | |
2020-06-25 | spec!: remove Optional/build and Optional/fold | Nadrieril | 1 | -4/+3 | |
2020-06-25 | spec: remove Unicode character from `dhall.abnf` | Nadrieril | 1 | -1/+1 | |
2020-06-25 | spec!: remove the ability to quote paths in URLs | Nadrieril | 3 | -14/+8 | |
2020-06-25 | spec: ensure `keyword` rule only matches keywords | Nadrieril | 1 | -2/+4 | |
2020-06-25 | spec: not all ABNF parsers like empty rules | Nadrieril | 3 | -44/+21 | |
2020-06-25 | spec: allow quoted labels to be empty | Nadrieril | 2 | -2/+4 | |
2020-06-25 | spec: fix precedence of `===` and `with` | Nadrieril | 3 | -9/+21 | |
2020-06-20 | fix(ci): grammar sync test fails spuriously on ci | Nadrieril | 1 | -0/+1 | |
2020-05-30 | Commit grammar file locally | Nadrieril | 2 | -0/+965 | |
The crate publishing process does not allow access to files outside the current crate. | |||||
2020-05-30 | Use dhall.abnf directly instead of via symlink | Nadrieril | 1 | -1/+0 | |
Because windows doesn't support symlinks properly | |||||
2020-04-10 | Deserialize `Prelude.Map` and `toMap` to a map instead of a list | Nadrieril | 1 | -0/+6 | |
2020-04-09 | Move Label escaping out of its Display impl | Nadrieril | 1 | -21/+33 | |
2020-04-07 | Move duplicate field checking to parser | Nadrieril | 5 | -306/+59 | |
2020-04-06 | Move BinOp and Builtin definitions in the relevant module | Nadrieril | 5 | -160/+17 | |
2020-04-06 | Extract operation-related code to a new module | Nadrieril | 5 | -72/+14 | |
2020-04-06 | Factor out operations in typecheck | Nadrieril | 1 | -2/+2 | |
2020-04-06 | Split off operations from main expr enum | Nadrieril | 6 | -212/+253 | |
2020-04-05 | Check code hashes in import | Nadrieril | 1 | -0/+8 | |
2020-03-31 | Brutally make all of dhall pub | Nadrieril | 7 | -17/+17 | |
2020-03-31 | Remove top-level Expr aliases | Nadrieril | 1 | -1/+1 | |
2020-03-31 | Rename LitKind to NumKind | Nadrieril | 6 | -27/+27 | |
2020-03-31 | Fix indexing for spans that go to the end of the input | Nadrieril | 1 | -5/+7 | |
2020-03-31 | Upgrade annotate-snippets version | Nadrieril | 1 | -8/+2 | |
2020-03-20 | Remove more unnecessary parens in printer | Nadrieril | 3 | -10/+35 | |
2020-03-20 | Parse RFC3986 URLs | Nadrieril | 2 | -2/+22 | |
2020-03-17 | Remove never_type feature | Nadrieril | 1 | -2/+4 | |
2020-03-17 | Run clippy | Nadrieril | 5 | -65/+111 | |
2020-03-11 | Implement record puns | Nadrieril | 4 | -1/+9 | |
2020-03-10 | Add support for `with` keyword | Nadrieril | 3 | -1/+44 | |
2020-03-05 | Implement remote imports and cleanup import chaining | Nadrieril | 5 | -34/+34 | |
2020-03-05 | Implement remote `as Location` resolution | Nadrieril | 1 | -1/+1 | |
2020-03-05 | Implement `as Location` imports | Nadrieril | 1 | -29/+0 | |
2020-03-05 | Implement some normalization simplifications | Nadrieril | 1 | -1/+1 | |
2020-03-02 | Normalization for ProjectionByExpr | Basile Henry | 1 | -1/+1 | |
2020-02-20 | Add support for dotted field syntax | Nadrieril | 2 | -2/+14 | |
2020-02-20 | Add support for duplicate record fields | Nadrieril | 4 | -21/+46 | |
2020-02-19 | Expose fewer pub things | Nadrieril | 3 | -45/+7 | |
2020-02-17 | Remove some unused code | Nadrieril | 1 | -24/+0 | |
2020-02-16 | Start requiring Universe to build a Type | Nadrieril | 1 | -0/+7 | |