Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-04-10 | add type substitutions to serde_dhall | stuebinm | 1 | -0/+5 | |
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 | release: dhall version 0.10.1 | Nadrieril | 1 | -1/+1 | |
2021-04-03 | clippy: ignore unknown lints | Nadrieril | 1 | -1/+2 | |
2021-04-03 | clippy: ignore upper_case_acronyms | Nadrieril | 1 | -2/+3 | |
2021-04-03 | fix: fix formatting | Nadrieril | 1 | -1/+1 | |
2021-04-03 | Ignore clippy's needless question mark lint for the ast visitor macros. | Ceri Storey | 1 | -1/+2 | |
2021-03-09 | chore: fix clippy warnings | Nadrieril | 1 | -0/+1 | |
2021-02-04 | release: dhall version 0.10.0 | Nadrieril | 1 | -1/+1 | |
2020-12-07 | Soothe clippy | Nadrieril | 1 | -0/+1 | |
2020-12-07 | Resolve imports and alternatives outside of the ast traversal | Nadrieril | 1 | -1/+1 | |
2020-12-07 | Unify `skip_resolve_expr` with normal resolution | Nadrieril | 1 | -2/+13 | |
2020-12-07 | Thread cx everywhere else imports are read | Nadrieril | 1 | -33/+9 | |
2020-12-07 | Thread cx through normalization | Nadrieril | 1 | -41/+35 | |
2020-12-07 | Thread cx through typecheck | Nadrieril | 1 | -3/+8 | |
2020-12-07 | Make global store of imports and import results | Nadrieril | 1 | -0/+3 | |
2020-11-20 | release: dhall version 0.9.0 | Nadrieril | 1 | -1/+1 | |
2020-11-01 | Untangle caching code | Nadrieril | 1 | -2/+3 | |
2020-10-28 | release: dhall version 0.8.0 | Nadrieril | 1 | -1/+1 | |
2020-10-25 | Release dhall version 0.7.4 | Nadrieril | 1 | -1/+1 | |
2020-10-24 | Release dhall version 0.7.2 | Nadrieril | 1 | -1/+1 | |
2020-09-15 | Release dhall version 0.7.0 | Nadrieril | 1 | -1/+1 | |
2020-08-05 | Release dhall version 0.6.0 | Nadrieril | 1 | -1/+1 | |
2020-06-24 | refactor: remove old test harness | Nadrieril | 1 | -2/+0 | |
2020-05-30 | Release dhall version 0.5.3 | Nadrieril | 1 | -1/+1 | |
2020-04-12 | Release dhall version 0.5.2 | Nadrieril | 1 | -1/+1 | |
2020-04-09 | Release dhall version 0.5.1 | Nadrieril | 1 | -1/+1 | |
2020-04-06 | Move builtins module up a level | Nadrieril | 1 | -0/+1 | |
2020-04-06 | Extract operation-related code to a new module | Nadrieril | 1 | -0/+1 | |
2020-04-05 | Release dhall version 0.5.0 | Nadrieril | 1 | -1/+1 | |
2020-04-05 | Fix clippy warnings | Nadrieril | 1 | -0/+3 | |
2020-03-31 | Introduce option builder | Nadrieril | 1 | -0/+3 | |
2020-03-31 | Move Value, SimpleValue and SimpleType to serde | Nadrieril | 1 | -63/+3 | |
2020-03-31 | Brutally make all of dhall pub | Nadrieril | 1 | -15/+15 | |
2020-03-31 | Nir::normalize isn't useful | Nadrieril | 1 | -1/+3 | |
It pretends to normalize but actually can't normalize under lambdas. The correct way to normalize a Nir is to convert it to Hir. | |||||
2020-03-31 | Move conversion to SimpleVal/Ty to simple module | Nadrieril | 1 | -2/+2 | |
2020-03-31 | Remove top-level Expr aliases | Nadrieril | 1 | -13/+9 | |
2020-03-31 | Limit dependency on Normalized | Nadrieril | 1 | -66/+10 | |
2020-03-31 | Remove Normalized and friends from public API | Nadrieril | 1 | -28/+14 | |
2020-03-31 | Add new Value type in API | Nadrieril | 1 | -4/+60 | |
2020-03-31 | Add SimpleType to mirror SimpleValue | Nadrieril | 1 | -1/+5 | |
2020-03-31 | Add SimpleValue type to facilitate deserialization | Nadrieril | 1 | -2/+8 | |
2020-03-18 | Update to latest pest_consume to remove spurious clippy warning | Nadrieril | 1 | -1/+0 | |
2020-03-18 | Cut release | Nadrieril | 1 | -1/+1 | |
2020-03-17 | Remove never_type feature | Nadrieril | 1 | -1/+0 | |
2020-03-17 | Run clippy | Nadrieril | 1 | -6/+4 | |
2020-03-05 | Implement remote imports and cleanup import chaining | Nadrieril | 1 | -2/+6 | |
2020-02-21 | Cut release | Nadrieril | 1 | -1/+1 | |
2020-02-19 | Avoid re-typechecking after import | Nadrieril | 1 | -0/+3 | |
2020-02-18 | Remove useless `normalize` option from ToExprOptions | Nadrieril | 1 | -15/+4 | |
2020-02-18 | Borrow relevant Hir from Tir | Nadrieril | 1 | -7/+18 | |