{"id":30028637,"url":"https://github.com/matissoss/psyn","last_synced_at":"2026-02-09T02:05:12.881Z","repository":{"id":302910982,"uuid":"1013909039","full_name":"Matissoss/psyn","owner":"Matissoss","description":"minimal syntax specification format","archived":false,"fork":false,"pushed_at":"2025-07-05T10:07:47.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-06T15:58:06.629Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/Matissoss.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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,"zenodo":null}},"created_at":"2025-07-04T17:12:23.000Z","updated_at":"2025-07-05T10:07:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7fff943-fabe-4af1-8d25-37e022108354","html_url":"https://github.com/Matissoss/psyn","commit_stats":null,"previous_names":["matissoss/psyn"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Matissoss/psyn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matissoss%2Fpsyn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matissoss%2Fpsyn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matissoss%2Fpsyn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matissoss%2Fpsyn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Matissoss","download_url":"https://codeload.github.com/Matissoss/psyn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matissoss%2Fpsyn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29254306,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T01:52:29.835Z","status":"online","status_checked_at":"2026-02-09T02:00:09.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-08-06T15:47:41.277Z","updated_at":"2026-02-09T02:05:12.871Z","avatar_url":"https://github.com/Matissoss.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=center\u003e\n    \u003ch1\u003epsyn\u003c/h1\u003e\n\u003c/div\u003e\n\n## about\n\n`psyn` (`POLON Syntax Notation`) is minimalistic syntax description format. `psyn` is:\n\n- Format for people, not machines\n- Very easy to adapt/learn (you can learn `psyn` in ~10 minutes)\n- Very simple (there are only 3 core components, rest are derivatives)\n- Universal (`psyn` can fit into tiny CLI's as well as into assemblers/languages)\n\n`psyn` **DOES/IS NOT**:\n\n- Standalone file format\n- Format to generate ready parsers\n- Inform user of everything (it only presents shape of syntax, rest is informed by author)\n\nIt aims to solve following problem:\n\n\u003e How to inform user of syntax of tool in a way that is expressive, minimal and easy to understand?\n\n## entirety of format\n\n### psyn v1.1\n\n`psyn` v1.1 is currently latest version of `psyn`.\n\n#### nodes\n\n- `\u003cVALUE\u003e`: variable value\n- `[VALUE]`: optional value\n- `VALUE`: static value\n- `[\u003cVALUE\u003e]`: optional variable data\n\n***IMPORTANT***: if any node is put inside string literals (`\"\"`), then you can consider it just text.\n\n#### abbreviations\n\nAbbreviations are used (as name implies) to abbreviate node combination. Let's take a look at example of following assembly code that can be described using PSYN format.\n\n```\nmov rax, rcx\n```\n\nHere we can use two abbreviations, that is: `X86Instruction` and `X86Register`. In PSYN format these are declared using `*ABBREVIATION_NAME* = \u003cNODE\u003e`.\n\nShortened declaration of these 2 abbreviations:\n\n```\n*X86Instruction* = MOV, [...]\n*X86Register* = RAX, RCX, [...]\n```\n\nIf abbreviation has any variable data, its name must be put inside parentheses (`()`).\n\nExample Declaration:\n\n```\n*SomeAbbreviation*(SOMEVAR) = \u003cSOMEVAR\u003e\n```\n\nIf we now want to reference it (with some value):\n\n```\n*SomeOtherAbbreviation* = *SomeAbbreviation*(\"Hello\") World\n```\n\n## credits\n\n`psyn` was made by matissoss for `POLON` project and licensed under MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatissoss%2Fpsyn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatissoss%2Fpsyn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatissoss%2Fpsyn/lists"}