summaryrefslogtreecommitdiff
path: root/dhall/src/semantics (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Normalize `with` by mutation.Nadrieril2020-11-033-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 convenientNadrieril2020-11-031-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 opBasile Henry2020-11-011-30/+2
|
* fix: clippyNadrieril2020-11-012-21/+18
|
* feat: add location to import error messagesNadrieril2020-11-011-2/+10
| | | | This is crude but helpful. See #40
* Ensure that the hash always gets checkedNadrieril2020-11-012-19/+40
|
* Typed and TypedHir are the sameNadrieril2020-11-013-33/+26
|
* Untangle caching codeNadrieril2020-11-014-653/+130
|
* Store file cache in ImportEnvNadrieril2020-11-013-19/+20
|
* Untangle ImportEnv::handle_importNadrieril2020-11-012-29/+37
|
* Make reqwest an optional dependencyBasile Henry2020-10-101-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` optimizationsNadrieril2020-09-141-2/+30
|
* spec: allow unions with mixed kindsNadrieril2020-06-251-15/+5
|
* fix: panic on remote import on wasmNadrieril2020-06-241-4/+2
| | | | Sadly we would need proper async support for that to work
* Refactor cache path resolutionNadrieril2020-05-301-62/+21
|
* Fix cache path resolution on wasmNadrieril2020-05-301-0/+7
|
* Make reqwest build on wasmNadrieril2020-05-302-5/+15
|
* test: Add remaining tests for cachefteychene2020-05-151-0/+398
|
* fixup! test: Add some unit tests for cachefteychene2020-05-151-30/+55
|
* fixup! test: Add some unit tests for cachefteychene2020-05-151-56/+32
|
* fixup! fixup! Release serde_dhall version 0.5.2fteychene2020-05-151-31/+55
|
* test: Add some unit tests for cachefteychene2020-05-151-12/+121
|
* fixup! Release serde_dhall version 0.5.2fteychene2020-05-152-54/+67
|
* feat: Add cache resolution on resolvefteychene2020-05-153-28/+182
|
* ClippyNadrieril2020-04-071-3/+3
|
* Move duplicate field checking to parserNadrieril2020-04-072-41/+24
|
* Move BinOp and Builtin definitions in the relevant moduleNadrieril2020-04-064-12/+11
|
* Move builtins module up a levelNadrieril2020-04-064-501/+5
|
* Extract operation-related code to a new moduleNadrieril2020-04-065-809/+18
|
* Only need to store OpKind in NirNadrieril2020-04-062-82/+77
|
* Fix normalization bugNadrieril2020-04-061-49/+49
|
* oopsNadrieril2020-04-061-1/+1
|
* Avoid a few allocationsNadrieril2020-04-062-16/+20
|
* Factor our operations in normalizationNadrieril2020-04-062-300/+257
|
* Factor out operations in typecheckNadrieril2020-04-061-415/+436
|
* Split off operations from main expr enumNadrieril2020-04-065-141/+171
|
* Fix import bugNadrieril2020-04-051-9/+11
|
* Check code hashes in importNadrieril2020-04-052-9/+38
|
* Fix clippy warningsNadrieril2020-04-052-9/+6
|
* Reorganize API and internals of serde_dhall a bitNadrieril2020-03-311-1/+1
|
* Introduce option builderNadrieril2020-03-312-5/+11
|
* Move Value, SimpleValue and SimpleType to serdeNadrieril2020-03-311-4/+1
|
* Brutally make all of dhall pubNadrieril2020-03-3116-76/+76
|
* Nir::normalize isn't usefulNadrieril2020-03-313-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 NirNadrieril2020-03-314-61/+55
|
* Move conversion to SimpleVal/Ty to simple moduleNadrieril2020-03-311-81/+0
|
* Remove top-level Expr aliasesNadrieril2020-03-315-22/+16
|
* Rename LitKind to NumKindNadrieril2020-03-314-72/+72
|
* Add new Value type in APINadrieril2020-03-311-2/+2
|
* Add SimpleType to mirror SimpleValueNadrieril2020-03-311-1/+47
|