summaryrefslogtreecommitdiff
path: root/dhall/src/semantics (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tweak: factor a bitNadrieril2020-12-081-24/+25
|
* fix: fix import ordering issueNadrieril2020-12-081-7/+7
|
* Resolve imports and alternatives outside of the ast traversalNadrieril2020-12-074-65/+154
|
* Defer name errors to typecheckingNadrieril2020-12-074-5/+13
| | | | We aren't supposed to inspect anything before alternatives are chosen
* Avoid storing an import before we checked its hashNadrieril2020-12-072-23/+28
|
* Unify `skip_resolve_expr` with normal resolutionNadrieril2020-12-074-30/+49
|
* Pass import results via the global contextNadrieril2020-12-074-13/+19
|
* Thread cx everywhere else imports are readNadrieril2020-12-075-36/+53
|
* Tag cx ids with the cx lifetimeNadrieril2020-12-072-4/+4
| | | | To make sure we don't let ids escape and we don't mix scopes.
* Thread cx through normalizationNadrieril2020-12-0710-238/+287
|
* Thread cx through typecheckNadrieril2020-12-074-17/+33
|
* Improve ergonomics of `Ctxt`Nadrieril2020-12-071-10/+9
|
* Make global store of imports and import resultsNadrieril2020-12-072-62/+88
|
* An import location is not independent from the import modeNadrieril2020-12-062-117/+107
|
* Prepare `ImportLocation` for more fieldsNadrieril2020-12-062-38/+82
|
* Remove NirInternalNadrieril2020-11-032-50/+23
|
* Typecheck `with` using mutationNadrieril2020-11-032-2/+5
|
* 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
|