{"id":13896712,"url":"https://github.com/sacek/LPegLJ","last_synced_at":"2025-07-17T13:30:56.855Z","repository":{"id":65935717,"uuid":"10690602","full_name":"sacek/LPegLJ","owner":"sacek","description":"LPeg version 1.0 Parser in pure LuaJIT","archived":false,"fork":false,"pushed_at":"2022-05-09T09:55:51.000Z","size":247,"stargazers_count":109,"open_issues_count":4,"forks_count":10,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-11-25T02:33:17.456Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sacek.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-14T14:25:01.000Z","updated_at":"2024-11-06T22:10:27.000Z","dependencies_parsed_at":"2023-02-17T04:15:18.048Z","dependency_job_id":null,"html_url":"https://github.com/sacek/LPegLJ","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/sacek/LPegLJ","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sacek%2FLPegLJ","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sacek%2FLPegLJ/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sacek%2FLPegLJ/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sacek%2FLPegLJ/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sacek","download_url":"https://codeload.github.com/sacek/LPegLJ/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sacek%2FLPegLJ/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265611086,"owners_count":23797809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-06T18:03:06.296Z","updated_at":"2025-07-17T13:30:56.559Z","avatar_url":"https://github.com/sacek.png","language":"Lua","funding_links":[],"categories":["Lua","资源","Resources"],"sub_categories":["Parsing and Serialization"],"readme":"LPegLJ v1.0\n=============\n\nLPeg Parser in pure LuaJIT  \n(straight Lua + FFI translation of LPeg C code)   \nbased on LPeg v1.0 - PEG pattern matching for Lua  \nLua.org \u0026 PUC-Rio  written by Roberto Ierusalimschy  \nhttp://www.inf.puc-rio.br/~roberto/lpeg/\n\nleft recursion support is based on Sérgio Medeiros algorithm\nhttp://arxiv.org/abs/1207.0443\n\n### Usage:  \n```Lua\nlocal lpeglj = require\"lpeglj\"  \nlocal pattern = lpeglj.P(\"a\") \n-- then:\nlpeglj.match(pattern, \"a\") \n-- or, equivalently:  \npattern:match(\"a\")  \n```\n\n### Compatibility:\n\n- full syntactical and functional backward compatibility with LPeg v1.0\n- works only with LuaJIT 2.x  \n\n### Differences from LPeg v1.0:\n\nDescription in doc/USAGE.md\n\n- LPegLJ supports direct and indirect left recursion based on Sérgio Medeiros algorithm (http://arxiv.org/abs/1207.0443)\n- patterns can be saved and loaded\n- supports memoization (restricted) - useful for complex grammars\n- can be used in stream mode (infinite parsing)\n- VM action runtime listing (tracing) for debugging purposes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsacek%2FLPegLJ","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsacek%2FLPegLJ","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsacek%2FLPegLJ/lists"}