Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/dhall-lang/dhall-lang
Maintainable configuration files
https://github.com/dhall-lang/dhall-lang
c7082d910d956bcedfdc51daae989659a2db67bd authored over 5 years ago by Ollie Charles <[email protected]>
* Remove union literals from the language
Reducing the surface area of the language makes it ...
f692f70bafa0322da5d9c4b535b2d323a9c5ac61 authored over 5 years ago by Philip Potter <[email protected]>
This tests that the import alternative operator '?' successfully
recovers from type errors, i.e...
6cbf57c946e7e6576babc23a38320e53ecfa6bee authored over 5 years ago by Gabriel Gonzalez <[email protected]>
Previously the rule seemed to say that the type of a toMap expression is the type (kind) of its ...
788029db6b65ba660bc89b9c23d4df3f9cecccbc authored over 5 years ago by Simon Jakobi <[email protected]>Fixes https://github.com/dhall-lang/dhall-lang/issues/656
This adds a human-readable `.diag` ...
5cfca52e743a9b887a1bdf34c11ebfde572869b9 authored over 5 years ago by Gabriel Gonzalez <[email protected]>Original URL (potPourriA.dhall):
https://-._~%2C!$&'*+;=:@0abc1--12a------a-a--a-0/foo?/-...
f4ee1fb8f8165c6d68d5f7f4da609483839271db authored over 5 years ago by Simon Jakobi <[email protected]>It now parses successfully
Fixes https://github.com/dhall-lang/dhall-lang/issues/653
f554f2e7449603d9a7b472181ed64a94abec6d87 authored over 5 years ago by Gabriel Gonzalez <[email protected]>
The alternation was omitted, resulting in my parser trying to parse
some and toMap expressions ...
This is a simple refactoring that applies the ALPHANUM pattern introduced in https://github.com/...
cbe5fca479294d4aea3a6b7b94dba631b87d2696 authored over 5 years ago by Simon Jakobi <[email protected]>
These rules should be equivalent but more amenable to
recursive descent parsers and bulk parsin...
The current grammar forbids: `[] : List a` because it uses `import-expression`
for the type ann...
Fixes #643.
91bbae625e9ba27ee90eac483256394c59cec351 authored over 5 years ago by Simon Jakobi <[email protected]>Related to https://github.com/dhall-lang/dhall-lang/issues/577
This change forbids surrogate ...
599f83b9d5ed24f4357455aecc794f572234a69a authored over 5 years ago by Gabriel Gonzalez <[email protected]>…as discussed in https://github.com/dhall-lang/dhall-lang/pull/625#discussion_r302340879
ee2fe7d9cbd699fc9f40ca4858abcc0f13105324 authored over 5 years ago by Simon Jakobi <[email protected]>This fixes an issue with a test caught by the Haskell implementation.
There was a last-minute...
2df31bd63b65dd1629ebf585c05e2e2257629358 authored over 5 years ago by Gabriel Gonzalez <[email protected]>Package for dumping primative subset of XML with 'dhall text'.
37038a8a99400e07cfda6d1031c0ed78ce3bbd1d authored over 5 years ago by Emery Hemingway <[email protected]>
I realized that we haven't yet published a release containing
`./Prelude/Map.dhall`, so there's...
Context: #622
ce6153ae098c0e2bf2b48059d9d48f13a28ecae2 authored over 5 years ago by Simon Jakobi <[email protected]>
Background:
https://github.com/dhall-lang/dhall-lang/wiki/Migration%3A-Deprecation-of-old-Optio...
Previously an empty list literal had to be of the form
[] : List T
Code like
le...
4d68c5708cfc5c3f5ff7e5a6c4df25c5fdfd96f4 authored over 5 years ago by Simon Jakobi <[email protected]>1b587f866a16ce4ae198d5ff51848a4ffc0f4cdc authored over 5 years ago by Gabriel Gonzalez <[email protected]>
... as caught by @vvv in https://github.com/dhall-lang/dhall-lang/pull/386#issuecomment-509931438
9069c574d5eaff2b7e1989acb068b35f3df08797 authored over 5 years ago by Gabriel Gonzalez <[email protected]>
Removes any mention of "multi-lets" from the semantics, while adding a
note to the grammar that...
* Several simple tests for toMap
* Fixed the binary file extension
* Fixed two test files
...
The generic URI syntax allows reg-name to be just about anything, but
Dhall does not allaw gene...
Background:
https://github.com/dhall-lang/dhall-lang/wiki/Migration:-Deprecation-of-constructor...
a988001c4bacb898e00069e12d045a0e46714055 authored over 5 years ago by Gabriel Gonzalez <[email protected]>
* Use Prelude/Map for import headers
This is the official way to do association lists in the ...
3fefae11fa64566f2768318cdb97123c852ed868 authored over 5 years ago by Stephen Paul Weber <[email protected]>* Hash comes before `as` in import
* Fix integrity check encoding of b-side
* Also fix imp...
613347a526fb960e5895539631ebc107c172aaf2 authored over 5 years ago by Stephen Paul Weber <[email protected]>* Add record projection tests
* add missing projection-by-type unit tests
This adds:
*...
f0cd7157ee19296b8968003ce0524adc06fbb441 authored over 5 years ago by Philip Potter <[email protected]>* Allow all RFC3986-compliant URLs
This expands the URL syntax to allow all RFC3986-compliant...
2c0f2389e11597131b8ce021344322e5ed3a9131 authored over 5 years ago by Philip Potter <[email protected]>... as suggested in https://github.com/dhall-lang/dhall-lang/pull/586#issuecomment-500883688
3efe5695d06e429067a842af27e642fc97ae08e5 authored over 5 years ago by Gabriel Gonzalez <[email protected]>Mostly reverts #593.
I realised I said I'd keep judgment rules for RFC3986 resolution [1],
a...
A couple of fixes for tests:
- rename the `asLocation` parser test I introduced in #585 to the ...
This standardizes native support for reading import locations into Dhall,
as specified by @Gabr...
In #586, after some debate we went with a record encoding rather than a
curried encoding, but w...
Fixes https://github.com/dhall-lang/dhall-lang/issues/590
96e1ce92913d6fe93e64ac7b1df75bcfb5f734ea authored over 5 years ago by Gabriel Gonzalez <[email protected]>
The documentation explaining how to type-check `let` expressions
was written before we switched...
* Use RFC3986 section 5 URL resolution algorithm
This is part 1 of the proposal in #581. Thi...
49f551443c35791663c003b16c9955650c6d9bf1 authored over 5 years ago by Philip Potter <[email protected]>* Prelude/Map.dhall: fix field name in the docstring
Fix copy-n-paste error in the documentat...
ced3b974fe2d6de7476b56cef393f93969baa894 authored over 5 years ago by Valery V. Vorotyntsev <[email protected]>
Some of these examples found a bug in dhall-ruby where normalization for
commuting operators wo...
This adds a new `JSON` type for representing unstructured JSON data
in Dhall.
The goal is to...
7a2acce9d445cd33920a91a8deee2d7ed3c16870 authored over 5 years ago by Gabriel Gonzalez <[email protected]>B side had wrong encoding for the outer integrity check.
e7eb5337108080568aa65fdf2f4941fb0290e02d authored over 5 years ago by Stephen Paul Weber <[email protected]>
This simplifies the semantics somewhat (actual projection is only there
once) but also allows f...
fec7ac1b52e4a4c4c2467954eaf91b8b8998f714 authored over 5 years ago by Stephen Paul Weber <[email protected]>
Related to https://github.com/dhall-lang/dhall-lang/issues/577
dbf4ebcfabf499e87c27e75bec108d91929ccc31 authored over 5 years ago by Gabriel Gonzalez <[email protected]>
PR #549 adopted the use of multihash for binary encoding of semantic
hashes; this commit extend...
I'm just getting around to implement import caching, for which I need to
implement binary decod...
2af2343b4917adb34a26122ac6abecc3e8d1bbfb authored over 5 years ago by Fabrizio Ferrai <[email protected]>
This adds a test to ensure that an implementation fetches an import from
cache. It works by ma...
... to point to v8.0.0
6e67b2202eeb333a99556350979e37216b86510b authored over 5 years ago by Gabriel Gonzalez <[email protected]>... as suggested in https://github.com/dhall-lang/dhall-lang/issues/557#issuecomment-495670317
a652ef608e4286d0783db3043a1a6c05f7d16b8c authored over 5 years ago by Gabriel Gonzalez <[email protected]>The main changes are:
* Fix the Discourse service to correctly check out older revisions
*...
40dfa6abaa1dc1a7a877cecc10cf69e016c7f5c4 authored over 5 years ago by Gabriel Gonzalez <[email protected]>b1992297d702c67d2e1b1597af5c533af2934300 authored over 5 years ago by Philip Potter <[email protected]>
Fixes https://github.com/dhall-lang/dhall-lang/issues/567
2cd1aee41228c01676c8c622995c21bd8b36a666 authored over 5 years ago by Gabriel Gonzalez <[email protected]>Fixes https://github.com/dhall-lang/dhall-lang/issues/563
This change does a few things:
*...
542e3abdf26d7d021b35b3170571046f562e2e3b authored over 5 years ago by Gabriel Gonzalez <[email protected]>136a3491753fef251b2087031617d1ee1053f285 authored over 5 years ago by Gabriel Gonzalez <[email protected]>
The immediate motivation for this change was the following issue against
the Haskell implementa...
This test imports its own expected output, with a hash mismatch. This
isn't a great test, beca...
I believe that I ran across a bug in parsing test for `largeExpressionA.dhall`.
Specifically, t...
This adds support for a new `e.(t)` syntax that lets you project out a
subset of a record's fie...
We don't specifically test anywhere that if a hash doesn't match an
imported expression, that i...
This upstreams a regression test for a silly bug in the Haskell implementation
See: https://g...
ca511abcc13a681ebe1101ed52160a77d6e4366d authored over 5 years ago by Gabriel Gonzalez <[email protected]>
Using a byte string with internal label as much more compact than
storing base16 as unicode. R...
* Add test for multiline strings with mixed line endings
This test case caught a bug in dhall...
e49a1c2104151ad9b558fe31181bbeb5db0d8e3e authored over 5 years ago by Philip Potter <[email protected]>* require `Natural/fold 1` to call its function
I implemented `Natural/fold` enough to pass N...
8fff4cb42e6c4d1005205609957b785a3d11f8d2 authored over 5 years ago by Philip Potter <[email protected]>Signed-off-by: Stephan Renatus <[email protected]>
f942c2af8aa3c28b89fe5e58cd3b47faf6341303 authored over 5 years ago by Stephan Renatus <[email protected]>I was looking at the README and it seemed strange that some of the most important information is...
6d4f06c20f7faed2a2ef4a14dd96b49fb7944a79 authored over 5 years ago by Ollie Charles <[email protected]>
Now that empty union alternatives are a language feature, we should use
them in Prelude too.
* fix union constructor type inference judgments
The union constructor type inference judgmen...
c98977d0330367f3be5c217dec340344278ac4c0 authored over 5 years ago by Philip Potter <[email protected]>77789381ea37775373983334f300131f178b0470 authored over 5 years ago by Robbie McMichael <[email protected]>
* delete alternativesAreTypesA.dhall
this is a byte-for-byte duplicate of unionOfTypesA.dhall...
a39891c8a3e901b411d6417f218531636faf6f46 authored over 5 years ago by Philip Potter <[email protected]>
The old optional syntax (which looks like a funny annotated list) is
deprecated in favour of `S...
Fixes #528.
The previous semantics would not normalize a text literal such as
"${""}${x}" to...
The only way for a union type to have type `Kind` was using the rule:
Γ ⊢ T :⇥ Kind Γ ...
a628be4dd1866a5afe4cf9b65862acf8f9ccdf12 authored over 5 years ago by Philip Potter <[email protected]>* run `dhall format` over Prelude
the `let` expressions indented in the old way was a little ...
dbcf50c27b1592a6acfd38cb3ba976e3a36b74fe authored over 5 years ago by Philip Potter <[email protected]>
I transcribed them wrong out of dhall-ruby for the last PR and they each
had a trailing newline.
The test as written has a beta reduction as well as an alpha reduction.
The test only seeks to ...
This case was missing from the type inference unit tests.
805cdb6849226a8b94bdd7024a1e1236e5b7dae4 authored over 5 years ago by Philip Potter <[email protected]>
Similar to how decoding should allow any size number type no matter what
the encoder says to us...
* Fix multiline test
I think my git settings ate the whitespace, since it was so malformed
i...
75cbe77d45e18127b359b0d4ce8dc471abc645e2 authored over 5 years ago by Nadrieril Feneanar <[email protected]>
3e236d8c6b969b5ae5a484c831751da4f54d1b54 authored over 5 years ago by Nadrieril Feneanar <[email protected]>
Fixes https://github.com/dhall-lang/dhall-lang/issues/505
This upstreams a feature of the Has...
57ae83d93b873d648384023bd0fb51f31e9f44e8 authored over 5 years ago by Gabriel Gonzalez <[email protected]>
This change upstreams a nonstandard, but very useful, behaviour from the
Haskell implementation...
98bba61c7ed309f9f89bd432c3a3954b571a1705 authored over 5 years ago by Fabrizio Ferrai <[email protected]>
4e8a912931c34af3898b5b9f5552f706926cc0b2 authored over 5 years ago by Fabrizio Ferrai <[email protected]>
ace3ff524c19cb5f8aba4052f3e7c9ef5f3cb825 authored over 5 years ago by Stephen Paul Weber <[email protected]>
This splits up the various import tests, so that each feature can be
tested separately as it is...
The directory was renamed in 7ea70fbf39021c8c01ab85b831fce1aa386482ca
43490948b89dc8ed1a8d2d4d89edc962f6852248 authored over 5 years ago by Philip Potter <[email protected]>8623624632b61e78151f0cbc09453e4b9800ade8 authored over 5 years ago by Fabrizio Ferrai <[email protected]>
* Explain the encoding labelling scheme
Also, use "label" instead of "tag", because the word ...
deb557e911d834ed5d3f87ec781754365b46d90c authored over 5 years ago by Philip Potter <[email protected]>7104c55c93914016d072de307d60a00feb6779f8 authored over 5 years ago by Philip Potter <[email protected]>
82f26363463fc8eada14357108947a1895bc9e15 authored over 5 years ago by Nadrieril Feneanar <[email protected]>
This is to aid people who edit the files from the command line and need to
explicitly type out ...
Fixes #502.
This fixes environmentVariablesB.dhallb to not escape the special
characters in ...
dbb6f20525425525f909d8d85c64268cfb83a9da authored over 5 years ago by Nadrieril Feneanar <[email protected]>
f0509b403ace4b8a72ebb5fa9c473b9aeabeaf33 authored over 5 years ago by Fabrizio Ferrai <[email protected]>
d2e4f4a83d69182e20bcdaec4a3f223b95c4b937 authored over 5 years ago by Nadrieril Feneanar <[email protected]>