{"id":19326853,"url":"https://github.com/thierrymarianne/experimenting-with-compilation-principles","last_synced_at":"2026-04-30T07:39:22.948Z","repository":{"id":73372903,"uuid":"142401020","full_name":"thierrymarianne/experimenting-with-compilation-principles","owner":"thierrymarianne","description":"Learning some of the principles behind compilation (inspired by bit.ly/compilers-principles)","archived":false,"fork":false,"pushed_at":"2022-08-13T17:55:26.000Z","size":14692,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-18T09:49:34.605Z","etag":null,"topics":["antlr","editor","json","parser","vue","vuex"],"latest_commit_sha":null,"homepage":"https://json.weaving-the-web.org","language":"Vue","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/thierrymarianne.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}},"created_at":"2018-07-26T06:52:35.000Z","updated_at":"2022-07-14T14:13:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"8283b654-f154-4645-b466-7e588c43f625","html_url":"https://github.com/thierrymarianne/experimenting-with-compilation-principles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thierrymarianne/experimenting-with-compilation-principles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thierrymarianne%2Fexperimenting-with-compilation-principles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thierrymarianne%2Fexperimenting-with-compilation-principles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thierrymarianne%2Fexperimenting-with-compilation-principles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thierrymarianne%2Fexperimenting-with-compilation-principles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thierrymarianne","download_url":"https://codeload.github.com/thierrymarianne/experimenting-with-compilation-principles/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thierrymarianne%2Fexperimenting-with-compilation-principles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32458237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["antlr","editor","json","parser","vue","vuex"],"created_at":"2024-11-10T02:15:04.312Z","updated_at":"2026-04-30T07:39:22.919Z","avatar_url":"https://github.com/thierrymarianne.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learning how compilers work\n\n## About\n\nA simple JSON editor implemented as an exercice\nto learn more about:\n - context-free grammars (BNF)\n - languages,\n - lexers and\n - parsers\n\n## Installation\n\nInstall [git](https://git-scm.org) and clone the project repository\n\n```\ngit clone https://github.com/thierrymarianne/experimenting-with-compilation-principles\n```\n\nInstall [node.js](https://nodejs.org), \npreferally with [nvm](https://github.com/creationix/nvm)\n\nInstall the project JavaScript dependencies with [yarn](https://yarnpkg.com/en/docs/install#mac-stable) \n\n```\nyarn install\n```\n\nor [npm](https://nodejs.org/en/download/)\n\n```\nnpm install\n```\n## Development\n\nRun a development server with [webpack](https://webpack.js.org/)\n\n```\nnpm run webpack-serve\n```\n\n## Distribute\n\n```\nnpm run distribute\n```\n\n## Test\n\n```\nnpm run test\n```\n\n## Possible applications of the underling concepts \n\n - Allow an interactive selection of packages among those available from remotes\n (e.g. package.json with npmjs.org or composer.json with packagist.org) to remove tedium \n from these tasks\n - Make a semantic diff of parsed tokens (in order to consider not only characters deletion / \n additions but also variations in language usage, control flow, variables and methods between\n refactoring sessions to identify patterns of improvement by grouping small and repeatable\n actions already indexed at https://refactoring.com), to provide help in reorganizing code in a\n reproducible way (think wayback machine / time travel for code) so that code review might also\n be an occasion to replay how decisions were made in context.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthierrymarianne%2Fexperimenting-with-compilation-principles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthierrymarianne%2Fexperimenting-with-compilation-principles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthierrymarianne%2Fexperimenting-with-compilation-principles/lists"}