lark


Namelark JSON
Version 1.2.2 PyPI version JSON
download
home_pageNone
Summarya modern parsing library
upload_time2024-08-13 19:49:00
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT
keywords earley lalr parser parsing ast
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Lark is a modern general-purpose parsing library for Python.
With Lark, you can parse any context-free grammar, efficiently, with very little code.
Main Features:
- Builds a parse-tree (AST) automagically, based on the structure of the grammar
- Earley parser
- Can parse all context-free grammars
- Full support for ambiguous grammars
- LALR(1) parser
- Fast and light, competitive with PLY
- Can generate a stand-alone parser
- CYK parser, for highly ambiguous grammars
- EBNF grammar
- Unicode fully supported
- Automatic line & column tracking
- Standard library of terminals (strings, numbers, names, etc.)
- Import grammars from Nearley.js
- Extensive test suite
- And much more!
Since version 1.2, only Python versions 3.8 and up are supported.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "lark",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "Earley, LALR, parser, parsing, ast",
    "author": null,
    "author_email": "Erez Shinan <erezshin@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/af/60/bc7622aefb2aee1c0b4ba23c1446d3e30225c8770b38d7aedbfb65ca9d5a/lark-1.2.2.tar.gz",
    "platform": null,
    "description": "Lark is a modern general-purpose parsing library for Python.\nWith Lark, you can parse any context-free grammar, efficiently, with very little code.\nMain Features:\n- Builds a parse-tree (AST) automagically, based on the structure of the grammar\n- Earley parser\n- Can parse all context-free grammars\n- Full support for ambiguous grammars\n- LALR(1) parser\n- Fast and light, competitive with PLY\n- Can generate a stand-alone parser\n- CYK parser, for highly ambiguous grammars\n- EBNF grammar\n- Unicode fully supported\n- Automatic line & column tracking\n- Standard library of terminals (strings, numbers, names, etc.)\n- Import grammars from Nearley.js\n- Extensive test suite\n- And much more!\nSince version 1.2, only Python versions 3.8 and up are supported.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "a modern parsing library",
    "version": "1.2.2",
    "project_urls": {
        "Download": "https://github.com/lark-parser/lark/tarball/master",
        "Homepage": "https://github.com/lark-parser/lark"
    },
    "split_keywords": [
        "earley",
        " lalr",
        " parser",
        " parsing",
        " ast"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2d00d90b10b962b4277f5e64a78b6609968859ff86889f5b898c1a778c06ec00",
                "md5": "4af85318e79793d50b56aa290bb0854d",
                "sha256": "c2276486b02f0f1b90be155f2c8ba4a8e194d42775786db622faccd652d8e80c"
            },
            "downloads": -1,
            "filename": "lark-1.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4af85318e79793d50b56aa290bb0854d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 111036,
            "upload_time": "2024-08-13T19:48:58",
            "upload_time_iso_8601": "2024-08-13T19:48:58.603221Z",
            "url": "https://files.pythonhosted.org/packages/2d/00/d90b10b962b4277f5e64a78b6609968859ff86889f5b898c1a778c06ec00/lark-1.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "af60bc7622aefb2aee1c0b4ba23c1446d3e30225c8770b38d7aedbfb65ca9d5a",
                "md5": "99760ed81904c56b2db2b7ab7723063e",
                "sha256": "ca807d0162cd16cef15a8feecb862d7319e7a09bdb13aef927968e45040fed80"
            },
            "downloads": -1,
            "filename": "lark-1.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "99760ed81904c56b2db2b7ab7723063e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 252132,
            "upload_time": "2024-08-13T19:49:00",
            "upload_time_iso_8601": "2024-08-13T19:49:00.652341Z",
            "url": "https://files.pythonhosted.org/packages/af/60/bc7622aefb2aee1c0b4ba23c1446d3e30225c8770b38d7aedbfb65ca9d5a/lark-1.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-13 19:49:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lark-parser",
    "github_project": "lark",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "lark"
}
        
Elapsed time: 0.64982s