Comments (6)
The main downside that I can think of is that this forces all of the future Dhall compilers to be written in Haskell so that they can be bundled into the blessed executable. A lesser downside is that the binary size will grow as we add more compilers to different formats (and I do plan to add a lot more; they are very easy to roll out)
In practice, that's already the current state of things because there's only one implementation of Dhall in Haskell. However, I'm in the process of standardizing the language to support other implementations and even without the standard some other language bindings are pretty close to completion (most notably the Rust implementation, which could end up being faster than the Haskell implementation)
from dhall-lang.
Hmm. Good point. Maybe a git-style subcommand system (where dhall-json
gets executed when user runs dhall json
)?
from dhall-lang.
Yeah, I think that would work, especially if came bundled with an officially endorsed set of plugins and the --help
output made it easy to discover what plugins were already installed
Keep in mind that I might not get to this for a while, but I'll try to implement this when I can
from dhall-lang.
No worries at all re timeline. Am grateful for whatever you can manage. :)
from dhall-lang.
Do we still want to do this?
from dhall-lang.
I'll close this one out as a duplicate of dhall-lang/dhall-haskell#1102 since splitting out the Dhall API from the executable is the main blocker for doing something like this
from dhall-lang.
Related Issues (20)
- ABNF grammar should list "as Bytes" import mode
- Should the ABNF grammar disallow shebangs inside expressions? HOT 1
- eta-reducing to merge HOT 4
- Builtins operators reference: Missing record projection HOT 2
- ABNF grammar should explicitly disallow keywords as identifiers? HOT 2
- ABNF grammar should include a mandatory whitespace after `import-hashed`? HOT 1
- Improvements and fixes in the standard documentation HOT 3
- Is this an incorrect test file: `dhall-lang/tests/import/success/unit/ImportRelativeToHomeB.dhall`? HOT 2
- Link to non existing tweet
- A minimalistic proposal for do-notation
- Thoughts on introducing a minimum amount of type inference in Dhall HOT 1
- Introduce Bytes/length and Text/length as built-ins? HOT 3
- Is there a security hole: malicious sha256-protected cached content? HOT 1
- Eta-equivalence in `assert`? HOT 13
- A type level equivalent of the `with` keyword HOT 11
- Convert assertions to Leibniz equality types HOT 3
- A minimalistic proposal for adding row and column polymorphism to Dhall HOT 2
- A proposal for a "lightweight Dhall implementations" standard
- Year, Month, and Date extraction from a Date HOT 6
- Parsing errors location not helpful
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dhall-lang.