Skip to content

UniGrammar/UniGrammarRuntimeCore.py

Repository files navigation

UniGrammarRuntimeCore.py Unlicensed work

GitLab Build Status GitLab Coverage [N∅ dependencies Code style: antiflash

We have moved to https://codeberg.org/UniGrammar/UniGrammarRuntimeCore.py, grab new versions there.

Under the disguise of "better security" Micro$oft-owned GitHub has discriminated users of 1FA passwords while having commercial interest in success and wide adoption of FIDO 1FA specifications and Windows Hello implementation which it promotes as a replacement for passwords. It will result in dire consequencies and is competely inacceptable, read why.

If you don't want to participate in harming yourself, it is recommended to follow the lead and migrate somewhere away of GitHub and Micro$oft. Here is the list of alternatives and rationales to do it. If they delete the discussion, there are certain well-known places where you can get a copy of it. Read why you should also leave GitHub.


Core of UniGrammar runtime contains a common framework with minimal dependencies that can be used when creating or wrapping parser generators without actually using UniGrammar. It is needed because if you are using OOP, you still have to have some interface, and it would be better if that interface is compatible to the one used in UniGrammar, so we won't have to rewrap stuff again and again. There are no stability guarantees though. You are expected to be able to do necessary changes in your code if you use it.

It is splitted into a separate package because we don't want to require its users to install UniGrammarRuntime and its dependencies.

It doesn't use UniGrammar package as a namespace because this stuff is incompatible to pip install -e . (components installed as -e break every other components, an it is probably a bug in python), so it has to have an own name UniGrammarRuntimeCore.

About

A set of interfaces useful for any parser generator in python.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages