Coder Social home page Coder Social logo

Suggestions about cask HOT 4 CLOSED

thisirs avatar thisirs commented on July 26, 2024
Suggestions

from cask.

Comments (4)

swsnr avatar swsnr commented on July 26, 2024

Currently, writing an incorrect Cask file (missing paren, for example) gives a not very helpful message.

Agreed. Unfortunately we don't get detailed errors from the Emacs Lisp parser, but I've tried my best to recover some error information, at least for the case of unbalanced parenthesis, see #77.

Plus, the new syntax (source melpa) is handy but the command (source "melpa") should also be valid as it is more consistent with other statements of the DSL.

I disagree :) The current source syntax clearly separates between known built-in sources which are referred to via symbol names, and named sources, which are referred to with strings. I don't want to change that.

from cask.

rejeep avatar rejeep commented on July 26, 2024

I disagree :) The current source syntax clearly separates between known built-in sources which are referred to via symbol names, and named sources, which are referred to with strings. I don't want to change that.

Me too. A string could indicate anything, while a symbol means something special. It's like this in many languages, for example Ruby.

from cask.

thisirs avatar thisirs commented on July 26, 2024

Hum, ok, that makes sense! +1 for the improved error reporting! ;)

from cask.

swsnr avatar swsnr commented on July 26, 2024

Closing this issue, following the merge of #77

from cask.

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.