Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove NirInternal | Nadrieril | 2020-11-03 | 2 | -50/+23 |
| | |||||
* | Typecheck `with` using mutation | Nadrieril | 2020-11-03 | 2 | -2/+5 |
| | |||||
* | Normalize `with` by mutation. | Nadrieril | 2020-11-03 | 3 | -5/+42 |
| | | | | | This is Cow-style mutation: we clone only what's shared and then mutate it. This it more legible and more efficient than the immutable version. | ||||
* | Try to keep ownership of `Nir`s when convenient | Nadrieril | 2020-11-03 | 1 | -1/+1 |
| | | | | | The goal is that we might avoid cloning internals in the common case where a value is not shared | ||||
* | Implement type checking for With op | Basile Henry | 2020-11-01 | 1 | -30/+2 |
| | |||||
* | fix: clippy | Nadrieril | 2020-11-01 | 2 | -21/+18 |
| | |||||
* | feat: add location to import error messages | Nadrieril | 2020-11-01 | 1 | -2/+10 |
| | | | | This is crude but helpful. See #40 | ||||
* | Ensure that the hash always gets checked | Nadrieril | 2020-11-01 | 2 | -19/+40 |
| | |||||
* | Typed and TypedHir are the same | Nadrieril | 2020-11-01 | 3 | -33/+26 |
| | |||||
* | Untangle caching code | Nadrieril | 2020-11-01 | 4 | -653/+130 |
| | |||||
* | Store file cache in ImportEnv | Nadrieril | 2020-11-01 | 3 | -19/+20 |
| | |||||
* | Untangle ImportEnv::handle_import | Nadrieril | 2020-11-01 | 2 | -29/+37 |
| | |||||
* | Make reqwest an optional dependency | Basile Henry | 2020-10-10 | 1 | -1/+5 |
| | | | | | | | | | This adds a feature to the Cargo.toml to be able to control if dhall depends on reqwest. This makes it possible to build dhall-rust for any arch (not just wasm32) without depending on reqwest. To disable reqwest as a dependency, we can now use `default-features = false` when adding the dhall dependency. Closes #169 | ||||
* | spec: Enable `with` optimizations | Nadrieril | 2020-09-14 | 1 | -2/+30 |
| | |||||
* | spec: allow unions with mixed kinds | Nadrieril | 2020-06-25 | 1 | -15/+5 |
| | |||||
* | fix: panic on remote import on wasm | Nadrieril | 2020-06-24 | 1 | -4/+2 |
| | | | | Sadly we would need proper async support for that to work | ||||
* | Refactor cache path resolution | Nadrieril | 2020-05-30 | 1 | -62/+21 |
| | |||||
* | Fix cache path resolution on wasm | Nadrieril | 2020-05-30 | 1 | -0/+7 |
| | |||||
* | Make reqwest build on wasm | Nadrieril | 2020-05-30 | 2 | -5/+15 |
| | |||||
* | test: Add remaining tests for cache | fteychene | 2020-05-15 | 1 | -0/+398 |
| | |||||
* | fixup! test: Add some unit tests for cache | fteychene | 2020-05-15 | 1 | -30/+55 |
| | |||||
* | fixup! test: Add some unit tests for cache | fteychene | 2020-05-15 | 1 | -56/+32 |
| | |||||
* | fixup! fixup! Release serde_dhall version 0.5.2 | fteychene | 2020-05-15 | 1 | -31/+55 |
| | |||||
* | test: Add some unit tests for cache | fteychene | 2020-05-15 | 1 | -12/+121 |
| | |||||
* | fixup! Release serde_dhall version 0.5.2 | fteychene | 2020-05-15 | 2 | -54/+67 |
| | |||||
* | feat: Add cache resolution on resolve | fteychene | 2020-05-15 | 3 | -28/+182 |
| | |||||
* | Clippy | Nadrieril | 2020-04-07 | 1 | -3/+3 |
| | |||||
* | Move duplicate field checking to parser | Nadrieril | 2020-04-07 | 2 | -41/+24 |
| | |||||
* | Move BinOp and Builtin definitions in the relevant module | Nadrieril | 2020-04-06 | 4 | -12/+11 |
| | |||||
* | Move builtins module up a level | Nadrieril | 2020-04-06 | 4 | -501/+5 |
| | |||||
* | Extract operation-related code to a new module | Nadrieril | 2020-04-06 | 5 | -809/+18 |
| | |||||
* | Only need to store OpKind in Nir | Nadrieril | 2020-04-06 | 2 | -82/+77 |
| | |||||
* | Fix normalization bug | Nadrieril | 2020-04-06 | 1 | -49/+49 |
| | |||||
* | oops | Nadrieril | 2020-04-06 | 1 | -1/+1 |
| | |||||
* | Avoid a few allocations | Nadrieril | 2020-04-06 | 2 | -16/+20 |
| | |||||
* | Factor our operations in normalization | Nadrieril | 2020-04-06 | 2 | -300/+257 |
| | |||||
* | Factor out operations in typecheck | Nadrieril | 2020-04-06 | 1 | -415/+436 |
| | |||||
* | Split off operations from main expr enum | Nadrieril | 2020-04-06 | 5 | -141/+171 |
| | |||||
* | Fix import bug | Nadrieril | 2020-04-05 | 1 | -9/+11 |
| | |||||
* | Check code hashes in import | Nadrieril | 2020-04-05 | 2 | -9/+38 |
| | |||||
* | Fix clippy warnings | Nadrieril | 2020-04-05 | 2 | -9/+6 |
| | |||||
* | Reorganize API and internals of serde_dhall a bit | Nadrieril | 2020-03-31 | 1 | -1/+1 |
| | |||||
* | Introduce option builder | Nadrieril | 2020-03-31 | 2 | -5/+11 |
| | |||||
* | Move Value, SimpleValue and SimpleType to serde | Nadrieril | 2020-03-31 | 1 | -4/+1 |
| | |||||
* | Brutally make all of dhall pub | Nadrieril | 2020-03-31 | 16 | -76/+76 |
| | |||||
* | Nir::normalize isn't useful | Nadrieril | 2020-03-31 | 3 | -89/+0 |
| | | | | | It pretends to normalize but actually can't normalize under lambdas. The correct way to normalize a Nir is to convert it to Hir. | ||||
* | Improve handling of builtin types in Nir | Nadrieril | 2020-03-31 | 4 | -61/+55 |
| | |||||
* | Move conversion to SimpleVal/Ty to simple module | Nadrieril | 2020-03-31 | 1 | -81/+0 |
| | |||||
* | Remove top-level Expr aliases | Nadrieril | 2020-03-31 | 5 | -22/+16 |
| | |||||
* | Rename LitKind to NumKind | Nadrieril | 2020-03-31 | 4 | -72/+72 |
| |