-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parser and Formatter objects #98
Comments
i like this! using objects is very pythonic |
In fact, it might be helpful for Mycroft skill developers. We'd have to start documenting more thoroughly (which somehow excites me, rather than horrifying me) but Mycroft could just instantiate one parser. Skill authors would wind up doing stuff like, Which, come to think of it, even live in "the same place" ( Or Mycroft could just keep doing what it's doing. |
Should we add Parser and Formatter classes, so that users can instantiate these functions with state?
I can see the utility: instantiate a formatter, specify once that you prefer: commas for decimal points, French for the language, do NOT fall back on English, 24 hour clock.
The text was updated successfully, but these errors were encountered: