q5js / q5.js

A sequel to p5.js that's smaller and faster
https://q5js.org
GNU Lesser General Public License v3.0
80 stars 6 forks source link

Friendly Error System module #49

Open quinton-ashley opened 1 week ago

quinton-ashley commented 1 week ago

Fork the Friendly Error System from p5.js and offer it as an optional q5 module.

p5's FES explain errors in a friendly way. Though beginners can consult AI to get more detailed explanations of errors, sometimes a hint from FES would be enough to guide them to think of a solution.

quinton-ashley commented 1 week ago

@Ayush23Dash I'm interested in your work on decoupling the FES from p5.js.

I saw your comment on @willmartian 's feature request: https://github.com/processing/p5.js/issues/5629#issuecomment-1682355130

It seems you stopped working on it because it would require using files from p5.js. Forking the files from p5.js would not be an issue for q5.js, since it's also licensed under the LGPL, same as p5.js. Eventually when p5.js develops their own modular system this work of decoupling the FES could benefit the p5 devs as well.

Do you still have the code for the FES package you started making?