Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand character set for quoted labels #408

Merged
merged 5 commits into from
Mar 8, 2019

Conversation

Gabriella439
Copy link
Contributor

This expands quoted labels to permit all non-control ASCII characters except
backticks

One motivation for this is that I would like to eventually standardize support
for automatically converting nullary union alternatives to Text, but that
in turn requires expanding the set of valid alternative names.

A second motivation for this is to expand the set of field names that Dhall
can generate when targeting JSON/YAML configurations.

This expands quoted labels to permit all non-control ASCII characters except
backticks

One motivation for this is that I would like to eventually standardize support
for automatically converting nullary union alternatives to `Text`, but that
in turn requires expanding the set of valid alternative names.

A second motivation for this is to expand the set of field names that Dhall
can generate when targeting JSON/YAML configurations.
quoted-label =
%x20-5F
; %x60 = "\`"
/ %x61-7E
Copy link
Member

@Nadrieril Nadrieril Mar 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you lost the 1* repetition

Gabriella439 added a commit to dhall-lang/dhall-haskell that referenced this pull request Mar 6, 2019
@Gabriella439
Copy link
Contributor Author

Here is the matching change to the Haskell implementation: dhall-lang/dhall-haskell#840

@Gabriella439 Gabriella439 merged commit b583925 into master Mar 8, 2019
@Gabriella439 Gabriella439 deleted the gabriel/more_quoted_labels branch March 8, 2019 05:09
Gabriella439 added a commit to dhall-lang/dhall-haskell that referenced this pull request Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants