-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dhall-to-nix encoding of symbols with special keys
Symbols in nix can only consist of a very restricted amount of characters, whereas in dhall they can be basically anything. So let’s use an encoding scheme similar to what GHC uses to generate C symbols. Code slightly changed (some GHC-specific cases removed). I might have missed some cases of dhall symbols that are translated verbatim.
- Loading branch information
1 parent
f95b2be
commit 82d5b93
Showing
1 changed file
with
118 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters