{"id":20579754,"url":"https://github.com/arcj137442/junarseseparsers","last_synced_at":"2026-01-07T05:35:30.483Z","repository":{"id":187526537,"uuid":"675985873","full_name":"ARCJ137442/JuNarseseParsers","owner":"ARCJ137442","description":"Junarsese-Parsers: Parser extensions for JuNarsese | JuNarsese的解析器扩展","archived":false,"fork":false,"pushed_at":"2024-09-14T13:03:23.000Z","size":3183,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T07:51:09.314Z","etag":null,"topics":["json","julia-package","non-axiomatic-logic","toml","xml","yaml"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ARCJ137442.png","metadata":{"files":{"readme":"README-en.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-08T07:13:32.000Z","updated_at":"2024-09-14T13:03:26.000Z","dependencies_parsed_at":"2023-08-10T23:10:01.683Z","dependency_job_id":"bb0b73a5-9d80-4292-b954-8497b2cacf4e","html_url":"https://github.com/ARCJ137442/JuNarseseParsers","commit_stats":null,"previous_names":["arcj137442/junarseseparsers.jl","arcj137442/junarseseparsers"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARCJ137442%2FJuNarseseParsers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARCJ137442%2FJuNarseseParsers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARCJ137442%2FJuNarseseParsers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARCJ137442%2FJuNarseseParsers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ARCJ137442","download_url":"https://codeload.github.com/ARCJ137442/JuNarseseParsers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253328841,"owners_count":21891535,"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":["json","julia-package","non-axiomatic-logic","toml","xml","yaml"],"created_at":"2024-11-16T06:18:29.626Z","updated_at":"2026-01-07T05:35:25.451Z","avatar_url":"https://github.com/ARCJ137442.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JuNarsese Parsers\n\n|[简体中文](README.md) | **English**|\n|:---:|:---:|\n\n![GitHub License](https://img.shields.io/github/license/ARCJ137442/JuNarseseParsers.jl?style=for-the-badge\u0026color=a270ba)\n![Code Size](https://img.shields.io/github/languages/code-size/ARCJ137442/JuNarseseParsers.jl?style=for-the-badge\u0026color=a270ba)\n![Lines of Code](https://www.aschey.tech/tokei/github.com/ARCJ137442/JuNarseseParsers.jl?style=for-the-badge\u0026color=a270ba)\n[![Language](https://img.shields.io/badge/language-Julia%201.8+-purple?style=for-the-badge\u0026color=a270ba)](https://julialang.org/)\n\n开发状态：\n\n[![CI status](https://img.shields.io/github/actions/workflow/status/ARCJ137442/JuNarseseParsers.jl/ci.yml?style=for-the-badge)](https://github.com/ARCJ137442/JuNarseseParsers.jl/actions/workflows/ci.yml)\n[![Codecov](https://img.shields.io/codecov/c/github/ARCJ137442/JuNarseseParsers.jl?style=for-the-badge)](https://codecov.io/gh/ARCJ137442/JuNarseseParsers.jl)\n\n![Created At](https://img.shields.io/github/created-at/ARCJ137442/JuNarseseParsers.jl?style=for-the-badge)\n![Last Commit](https://img.shields.io/github/last-commit/ARCJ137442/JuNarseseParsers.jl?style=for-the-badge)\n\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-2.0.0-%23FE5196?style=for-the-badge)](https://conventionalcommits.org)\n\n## Introduction\n\nParser extensions for [**JuNarsese**](https://github.com/ARCJ137442/JuNarsese.jl)\n\n## Overview\n\nJuNarseseParsers\n\n1. In string parsers, use multiple grammars to describe Narsese and interface with multiple grammar libraries:\n   - [**Lerche**](\u003chttps://github.com/jamesrhester/Lerche.jl\u003e)(`LarkParser_alpha`) based on *EBNF*\n   - [**PikaParser**](\u003chttps://github.com/LCSB-BioCore/PikaParser.jl\u003e) based on *PEG*\n     - Overall supports more relaxed Narsese syntax, for example:\n       - Function computation form for compound term with operator: `op(x, y)` ([CommonNarsese](https://github.com/ARCJ137442/JuNarsese.jl#commonnarsese): `(*, ^op, x, y)`)\n       - 🆕Sentence representation without brackets: `water --\u003e liquid.` ([CommonNarsese](https://github.com/ARCJ137442/JuNarsese.jl#commonnarsese): `\u003cwater --\u003e liquid\u003e.`)\n     - Multiple parser subtypes:\n       - Alpha parser (`PikaParser_alpha`)\n         - The first parser built with pure PikaParser rules\n         - Syntax compatible with default [CommonNarsese](https://github.com/ARCJ137442/JuNarsese.jl#commonnarsese) parser\n         - May contain some latest parser features\n           - e.g. arbitrary whitespace delimiters\n       - Parsers copied from string parser `StringParser`\n         - e.g. `StringParser_ascii` ⇒ `PikaParser_ascii`\n2. Extend JuNarsese parsers to support multiple representation forms\n   - Based on JuNarsese's built-in \"native object parser\":\n     - **[JSON](https://www.json.org/)** (`JSONParser`): array/object two modes (latter as default)\n     - **[XML](https://www.xml.com/)** (`XMLParser`): pure translation/optimized two modes (latter as default)\n     - **[S-Expr](https://zh.wikipedia.org/wiki/S-表达式)** (`SExprParser`): Lisp-style expression system\n     - **[YAML](https://yaml.org)** (`YAMLParser`): array/object two modes (latter as default)\n     - **[TOML](https://toml.io)** (`TOMLParser`): \"array\" single mode only\n   - **Serialization** (`S11nParser`): Interface with Julia's built-in serialization system\n\n## References\n\n- JuNarsese (data structure support): \u003chttps://github.com/ARCJ137442/JuNarsese.jl\u003e\n- PyNARS (Lark, parser grammar): \u003chttps://github.com/bowen-xu/PyNARS\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcj137442%2Fjunarseseparsers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farcj137442%2Fjunarseseparsers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcj137442%2Fjunarseseparsers/lists"}