{"id":15061169,"url":"https://github.com/hazelgrove/tylr","last_synced_at":"2025-10-06T00:14:28.207Z","repository":{"id":37012003,"uuid":"286363484","full_name":"hazelgrove/tylr","owner":"hazelgrove","description":"a tiny tile-based editor","archived":false,"fork":false,"pushed_at":"2025-08-08T19:31:25.000Z","size":12068,"stargazers_count":306,"open_issues_count":71,"forks_count":5,"subscribers_count":10,"default_branch":"melds","last_synced_at":"2025-08-08T20:37:44.203Z","etag":null,"topics":["holes","js-of-ocaml","ocaml","reasonml","structure-editor"],"latest_commit_sha":null,"homepage":"https://tylr.fun","language":"Reason","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/hazelgrove.png","metadata":{"files":{"readme":"README.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,"zenodo":null}},"created_at":"2020-08-10T03:07:39.000Z","updated_at":"2025-08-07T14:20:47.000Z","dependencies_parsed_at":"2024-09-17T00:12:56.553Z","dependency_job_id":"b6cabe97-aab8-474c-bd4a-a70d65a29e07","html_url":"https://github.com/hazelgrove/tylr","commit_stats":{"total_commits":817,"total_committers":1,"mean_commits":817.0,"dds":0.0,"last_synced_commit":"1db7a2b2a2ed263183cdaef30a005114f4aa83d7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hazelgrove/tylr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazelgrove%2Ftylr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazelgrove%2Ftylr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazelgrove%2Ftylr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazelgrove%2Ftylr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hazelgrove","download_url":"https://codeload.github.com/hazelgrove/tylr/tar.gz/refs/heads/melds","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazelgrove%2Ftylr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278538426,"owners_count":26003378,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"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":["holes","js-of-ocaml","ocaml","reasonml","structure-editor"],"created_at":"2024-09-24T23:10:53.051Z","updated_at":"2025-10-06T00:14:28.191Z","avatar_url":"https://github.com/hazelgrove.png","language":"Reason","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `tylr` ![Build Status](https://github.com/hazelgrove/tylr/actions/workflows/deploy-branches.yml/badge.svg)\n\n`tylr` is a tiny *tile-based editor*, a new kind of structure editor\nthat, like a text editor, supports linear token-level editing workflows\nbut, unlike a text editor, ensures your manipulated tokens can always\nbe parsed back into a well-formed abstract syntax tree (AST).\n\nOther structure editors restrict you to simple operations on the AST.\nFor example, if you have the expression `2 + 3 * 4` in\n[Scratch](https://scratch.mit.edu/) or [MPS](https://www.jetbrains.com/mps/),\nyou can't select things like `* 4` or even `2 + 3`—never mind directly\nmanipulate them—because they don't correspond to complete subtrees in the AST.\nUniquely among structure editors, `tylr` lets you select and manipulate\nnear-arbitrary range selections, including those corresponding to sub- and\ncross-tree portions of the AST.\n\nYou can play with a running instance of this code at [tylr.fun](https://tylr.fun).\nClick on the help button in the upper-right corner for a gif-laden\nTwitter thread on how it works.\n\n## Building and running `tylr` locally\n\nInstall OPAM version ≥2.0 and use it to install OCaml 4.08.1 as described\n[here](https://ocaml.org/docs/install.html).\n\nClone this repo, run the following commands in the root directory,\nand paste the output of the final command into your browser address bar.\n```sh\nmake deps       # build dependencies (locked in opam.export)\nmake            # build tylr src\nmake echo-html  # echo path to compiled page\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazelgrove%2Ftylr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhazelgrove%2Ftylr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazelgrove%2Ftylr/lists"}