bgreg / humanist-errors Goto Github PK
View Code? Open in Web Editor NEWMore readable errors, for humans.
License: MIT License
More readable errors, for humans.
License: MIT License
Humanist error messages do display properly for "no method errors", "undefined words", "divide by zero", etc. ...but not for syntax errors. I'm not really sure why. For example:
test.rb:4: unterminated string meets end of file
And dictionaries/humanist_error.en.yml does define a human-readable error message for this error, but the user doesn't get to see it.
I was originally thinking about contributing to this project by submitting a human readable error message for "unexpected tIDENTIFIER". But an "unexpected tIDENTIFIER" is a syntax error, so my human readable error message won't ever be read by anybody. So I would really like this bug to be resolved, and so I reported this issue. I tried to find out what might be causing this bug, but so far, my search has been fruitless.
Nice meeting you today!
I don't want to fork this to the company organization, so here are the code changes: https://gist.github.com/cantino/17cf8b7345c244b28d6b
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.