{"id":16947734,"url":"https://github.com/toyboot4e/toy-scheme","last_synced_at":"2026-01-04T09:08:14.420Z","repository":{"id":109749046,"uuid":"373449833","full_name":"toyboot4e/toy-scheme","owner":"toyboot4e","description":"Handle custom path schemes (aliases) defined in `schemes.txt`","archived":false,"fork":false,"pushed_at":"2021-06-05T01:09:33.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T23:28:33.399Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","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/toyboot4e.png","metadata":{"files":{"readme":"README.org","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":"2021-06-03T09:20:48.000Z","updated_at":"2021-06-12T06:37:01.000Z","dependencies_parsed_at":"2023-04-21T15:08:16.178Z","dependency_job_id":null,"html_url":"https://github.com/toyboot4e/toy-scheme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyboot4e%2Ftoy-scheme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyboot4e%2Ftoy-scheme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyboot4e%2Ftoy-scheme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyboot4e%2Ftoy-scheme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toyboot4e","download_url":"https://codeload.github.com/toyboot4e/toy-scheme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244776270,"owners_count":20508503,"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-10-13T21:48:10.451Z","updated_at":"2026-01-04T09:08:14.379Z","avatar_url":"https://github.com/toyboot4e.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"* toy-scheme.el\n  Handle custom local path schemes (aliases) defined in =schemes.txt=\n\n** About\n   =schemes.txt= is a list of /custom local path schemes/. If you write schemed path in syntax\n   =\u003cscheme\u003e:path=, it can be converted to =\u003cscheme_path\u003e/path= referring to =schemes.txt=.\n\n** Motivation\n   =toy-scheme.el= is primary for my game development. While I'm writing files that refer to other\n   files, I could use relative path, but it was very uncomfortable. So I'm adding /schemed path/ to\n   my game framework with Emacs editor support.\n\n** Example\n    Say we have many files in non-flat directories:\n\n    #+BEGIN_SRC\n    assets/\n    ├── map\n    │   ├── tileset\n    │   │   └── tileset-1.png\n    │   ├── tmx\n    │   │   └── map-data-1.tmx\n    │   └── tsx\n    │       └── tileset-1.tsx\n    └── scripts\n        └── script1.lisp\n    #+END_SRC\n\n    If we want to refer to =map-data-1.tmx= from =script1.lisp=, we have to write as\n    =../map/tmx/map-data-1.tmx=. This is not elegant.\n    Instead, we can write it as =tmx:map-data-1.tmx= if we add =assets/schemes.txt=:\n\n   #+BEGIN_SRC\n   tmx: map/tmx\n   tsx: map/tsx\n   tileset: map/tileset\n   #+END_SRC\n\n   Now =tmx:map-data-1.tmx= refers to =assets/map/tmx/map-data-1.tmx=. Much better! Other schemes\n   (=tsx= and =tileset=) also work.\n\n   =toy-scheme.el= adds editor support for this kind of paths; it overrides =find-file-at-point=\n   with =advice-add=.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoyboot4e%2Ftoy-scheme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoyboot4e%2Ftoy-scheme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoyboot4e%2Ftoy-scheme/lists"}