{"id":16539735,"url":"https://github.com/tyru/maton","last_synced_at":"2026-03-06T19:36:00.630Z","repository":{"id":66794688,"uuid":"150997228","full_name":"tyru/maton","owner":"tyru","description":"Convert ERE and Vim regexp bidirectionally","archived":false,"fork":false,"pushed_at":"2018-10-20T03:57:25.000Z","size":34,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T03:20:10.596Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Prolog","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tyru.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-09-30T19:04:17.000Z","updated_at":"2018-10-20T03:57:26.000Z","dependencies_parsed_at":"2023-04-15T17:17:13.726Z","dependency_job_id":null,"html_url":"https://github.com/tyru/maton","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tyru/maton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyru%2Fmaton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyru%2Fmaton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyru%2Fmaton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyru%2Fmaton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyru","download_url":"https://codeload.github.com/tyru/maton/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyru%2Fmaton/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30193651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-10-11T18:50:21.072Z","updated_at":"2026-03-06T19:36:00.594Z","avatar_url":"https://github.com/tyru.png","language":"Prolog","funding_links":[],"categories":[],"sub_categories":[],"readme":"# maton\n\nConvert ERE and Vim regexp bidirectionally.\n\n## NOTE\n\n* Tested only in SWI-Prolog\n* Little bit slow\n\n```\n$ make\n$ time ./maton -f ere -t vim '^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$'\n^\\%(25[0-5]\\|2[0-4]\\d\\|1\\d\\d\\|[1-9]\\d\\|\\d\\)\\%(\\.\\%(25[0-5]\\|2[0-4]\\d\\|1\\d\\d\\|[1-9]\\d\\|\\d\\)\\)\\{3}$\n\nreal    0m1.294s\nuser    0m1.250s\nsys     0m0.016s\n```\n\n## Introduction\n\nMake executable binary (`./maton` is output binary):\n\n```\n$ make\n```\n\nRun without making executable binary:\n\n```\n$ swipl main.pl ...\n```\n\n## Conversion between ERE and Vim pattern\n\n```\nswipl main.pl -f ere -t vim {ERE pattern}\nswipl main.pl -f vim -t ere {Vim pattern}\n```\n\n## Dump node\n\n```\nswipl main.pl -f ere -t node {ERE pattern}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyru%2Fmaton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyru%2Fmaton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyru%2Fmaton/lists"}