Bundled language definitions#
The parce package comes with an amount of bundled language definitions. You can import them directly, e.g.:
from parce.lang.css import Css
root_lexicon = Css.root
but you can also use the find()
function to get the root lexicon
of a language definition by its name:
import parce
root_lexicon = parce.find("css")
This is a listing of the modules in parce.lang
and the Language classes
they define:
Module |
Languages |
---|---|
The asterisk means that for that language definition also a Transform is available.