lark


Namelark JSON
Version 1.1.9 PyPI version JSON
download
home_page
Summarya modern parsing library
upload_time2024-01-10 08:33:51
maintainer
docs_urlNone
author
requires_python>=3.6
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.0, only Python versions 3.6 and up are supported.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "lark",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "Earley,LALR,parser,parsing,ast",
    "author": "",
    "author_email": "Erez Shinan <erezshin@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/2c/e1/804b6196b3fbdd0f8ba785fc62837b034782a891d6f663eea2f30ca23cfa/lark-1.1.9.tar.gz",
    "platform": null,
    "description": "Lark is a modern general-purpose parsing library for Python.\r\nWith Lark, you can parse any context-free grammar, efficiently, with very little code.\r\nMain Features:\r\n- Builds a parse-tree (AST) automagically, based on the structure of the grammar\r\n- Earley parser\r\n- Can parse all context-free grammars\r\n- Full support for ambiguous grammars\r\n- LALR(1) parser\r\n- Fast and light, competitive with PLY\r\n- Can generate a stand-alone parser\r\n- CYK parser, for highly ambiguous grammars\r\n- EBNF grammar\r\n- Unicode fully supported\r\n- Automatic line & column tracking\r\n- Standard library of terminals (strings, numbers, names, etc.)\r\n- Import grammars from Nearley.js\r\n- Extensive test suite\r\n- And much more!\r\nSince version 1.0, only Python versions 3.6 and up are supported.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "a modern parsing library",
    "version": "1.1.9",
    "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": "e79ceef7c591e6dc952f3636cfe0df712c0f9916cedf317810a3bb53ccb65cdd",
                "md5": "d96eb52ea0bec042f94329bee65c2447",
                "sha256": "a0dd3a87289f8ccbb325901e4222e723e7d745dbfc1803eaf5f3d2ace19cf2db"
            },
            "downloads": -1,
            "filename": "lark-1.1.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d96eb52ea0bec042f94329bee65c2447",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 111693,
            "upload_time": "2024-01-10T08:33:48",
            "upload_time_iso_8601": "2024-01-10T08:33:48.873025Z",
            "url": "https://files.pythonhosted.org/packages/e7/9c/eef7c591e6dc952f3636cfe0df712c0f9916cedf317810a3bb53ccb65cdd/lark-1.1.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2ce1804b6196b3fbdd0f8ba785fc62837b034782a891d6f663eea2f30ca23cfa",
                "md5": "b94be44c1698e4801ea72cfcd284bcf0",
                "sha256": "15fa5236490824c2c4aba0e22d2d6d823575dcaf4cdd1848e34b6ad836240fba"
            },
            "downloads": -1,
            "filename": "lark-1.1.9.tar.gz",
            "has_sig": false,
            "md5_digest": "b94be44c1698e4801ea72cfcd284bcf0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 255451,
            "upload_time": "2024-01-10T08:33:51",
            "upload_time_iso_8601": "2024-01-10T08:33:51.411862Z",
            "url": "https://files.pythonhosted.org/packages/2c/e1/804b6196b3fbdd0f8ba785fc62837b034782a891d6f663eea2f30ca23cfa/lark-1.1.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-10 08:33:51",
    "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.16279s