Giter Site home page Giter Site logo

README suggestions about dhall-lang HOT 16 CLOSED

dhall-lang avatar dhall-lang commented on June 25, 2024 6
README suggestions

from dhall-lang.

Comments (16)

Gabriella439 avatar Gabriella439 commented on June 25, 2024 5

Sounds good!

I think the main blind spot I had when writing the README was underestimating the value of the JSON/YAML conversion. I had always viewed that as a second-class workaround for the lack of a direct language binding and not a first-class solution to recommend to users. However, from reading your feedback it sounds like I should instead rebrand Dhall as an alternative to Jsonnet that's safer and supports other integrations, too

I also agree with the other feedback about how to market use cases and solve specific problems at the beginning of the tutorial. I'll put up a pull request soon updating the README that you can review

from dhall-lang.

jml avatar jml commented on June 25, 2024 4

Oh, also, "how to install dhall" instructions for common platforms (Linux, macOS, Windows).

from dhall-lang.

Gabriella439 avatar Gabriella439 commented on June 25, 2024 2

Alright, then I'll try to provide binary releases for various platforms, too

from dhall-lang.

Gabriella439 avatar Gabriella439 commented on June 25, 2024 1

@BatmanAoD: Yeah, I will update the README with instructions soon. Here's my rough first draft of what I'll add to the README:

In the short-term, here are a few ways to install the interpreter:

  • Recommended: Install the Haskell package using Haskell's stack build tool
  • Install the Haskell package using Haskell's cabal build tool:
  • Installing the package using Nix

Installation paths that I'd like to provide (or that others can contribute if they have time before I do):

  • brew
  • Debian package
    • I think this is just a matter of asking the Debian Haskell group to package it. They're pretty helpful
  • Pre-built binaries hosted on the release page of this repository
  • Try the Dhall interpreter in the browser (using ghcjs to compile to Javascript)

from dhall-lang.

BatmanAoD avatar BatmanAoD commented on June 25, 2024 1

Indeed, after disabling my virus scanner I was able to install GHC and dhall.

from dhall-lang.

Gabriella439 avatar Gabriella439 commented on June 25, 2024 1

@errordeveloper: You're welcome! 🙂

from dhall-lang.

errordeveloper avatar errordeveloper commented on June 25, 2024

I have to say that your blog has a few pretty concrete stories, but that's a lot of reading... I'm intending to have a good look at the blog at some point.

from dhall-lang.

BatmanAoD avatar BatmanAoD commented on June 25, 2024

@jml @Gabriel439 Forgive me for asking a stupid question, but it looks like the README still doesn't provide a link or any instructions for installing the command-line interpreter. It looks like maybe the dhall executable itself is part of dhall-lang/dhall-haskell, which at first I didn't even think to look at, since I am not (yet) a Haskell-er? But, unfortunately, as a non-Haskell-er, I'm not even sure how to build/install the standalone package. A little help, please?

from dhall-lang.

BatmanAoD avatar BatmanAoD commented on June 25, 2024

Thank you!

I realize this isn't really something you can help with, but stack seems to have some issues on Windows with certain antirivus software (GHC won't be automatically installed due to a permissions issue, and after installing it manually, I ran into another permissions issue trying to do the actual install; some searching led me to a couple of threads that suggest antivirus is to blame). So unfortunately I'll have to put trying dhall on hold for now.

from dhall-lang.

Gabriella439 avatar Gabriella439 commented on June 25, 2024

@BatmanAoD: No problem! You can report the stack issue here if there's not already a related issue: https://github.com/commercialhaskell/stack/issues

from dhall-lang.

BatmanAoD avatar BatmanAoD commented on June 25, 2024

Yep, there is one, but it's been closed since the antivirus-disabling solution seems to work for most people. So at some point I'll either try again on a VM or talk to IT about making a scanning exception for Stack. commercialhaskell/stack#1917

from dhall-lang.

Gabriella439 avatar Gabriella439 commented on June 25, 2024

@BatmanAoD: One other question: if there had been a binary executable to install would that have made things easier? In other words, would you not have had to disable the virus scanner?

from dhall-lang.

BatmanAoD avatar BatmanAoD commented on June 25, 2024

I believe that would have worked fine; I don't typically experience this sort of problem, and I don't think I've ever seen it for Windows msi binaries or other "native" installers.

from dhall-lang.

BatmanAoD avatar BatmanAoD commented on June 25, 2024

That will definitely be helpful!

from dhall-lang.

Gabriella439 avatar Gabriella439 commented on June 25, 2024

I will close this out as I believe most of the original suggestions have been addressed in some way. In particular, we now have a https://docs.dhall-lang.org/ which has a more comprehensive set of educational resources and the README links to that now.

from dhall-lang.

errordeveloper avatar errordeveloper commented on June 25, 2024

@Gabriel439 thanks for closing with an informative note!

from dhall-lang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.