Skip to content
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

A new Untis Parser API (+ improvements to the automatic parsing) #13

Open
pixelcmtd opened this issue Apr 8, 2022 · 2 comments
Open
Labels
bug Something isn't working dsbuntis Relates to the `dsbuntis` package that pulls everything together. enhancement New feature or request untis Relates to the `untis` package that deals with Untis parsing.

Comments

@pixelcmtd
Copy link
Member

Parsing the actual <table> of substitutions is quite a difficult task, because not only different Untis versions, but just different schools in general always have different ordering.

The current Parser API makes it possible to plug in your own parser if your school uses a format that isn't parsed correctly quite easily. However, it would be preferable if it just worked, and using your own parser would be a bit easier.

Both should be possible to achieve at the same time and I got some ideas on how to do this, but I'll still need to think about them for a while.

@pixelcmtd pixelcmtd added enhancement New feature or request untis Relates to the `untis` package that deals with Untis parsing. dsbuntis Relates to the `dsbuntis` package that pulls everything together. labels Apr 8, 2022
pixelcmtd added a commit that referenced this issue Apr 9, 2022
@pixelcmtd
Copy link
Member Author

In 0.1.0-alpha.4, I introduced the new API. Now only improving the automatic Untis parser is left to do, but that can be dealt with in a minor release.

@pixelcmtd pixelcmtd added the bug Something isn't working label Apr 10, 2022
@pixelcmtd
Copy link
Member Author

This is especially important, since even for the public test account the parsing is wrong rn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dsbuntis Relates to the `dsbuntis` package that pulls everything together. enhancement New feature or request untis Relates to the `untis` package that deals with Untis parsing.
Projects
None yet
Development

No branches or pull requests

1 participant