{"id":33934079,"url":"https://github.com/dfgordon/tree-sitter-applesoft","last_synced_at":"2026-04-06T06:31:20.590Z","repository":{"id":57395967,"uuid":"423184132","full_name":"dfgordon/tree-sitter-applesoft","owner":"dfgordon","description":"Parser for Applesoft BASIC","archived":false,"fork":false,"pushed_at":"2025-08-03T20:36:34.000Z","size":572,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-10T06:13:43.614Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dfgordon.png","metadata":{"files":{"readme":".github/README.md","changelog":"CHANGELOG.md","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":"2021-10-31T15:22:39.000Z","updated_at":"2025-08-03T20:32:38.000Z","dependencies_parsed_at":"2024-05-12T11:30:15.924Z","dependency_job_id":"18d14f0b-bf9b-46d2-816a-032e2d0acfc4","html_url":"https://github.com/dfgordon/tree-sitter-applesoft","commit_stats":{"total_commits":50,"total_committers":2,"mean_commits":25.0,"dds":0.09999999999999998,"last_synced_commit":"9e40badf5831a71b5e88a9a1a5a0fd4853e01189"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/dfgordon/tree-sitter-applesoft","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfgordon%2Ftree-sitter-applesoft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfgordon%2Ftree-sitter-applesoft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfgordon%2Ftree-sitter-applesoft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfgordon%2Ftree-sitter-applesoft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfgordon","download_url":"https://codeload.github.com/dfgordon/tree-sitter-applesoft/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfgordon%2Ftree-sitter-applesoft/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31463011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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-12-12T13:24:25.976Z","updated_at":"2026-04-06T06:31:20.586Z","avatar_url":"https://github.com/dfgordon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parser for Applesoft BASIC\n\n![unit tests](https://github.com/dfgordon/tree-sitter-applesoft/actions/workflows/rust.yml/badge.svg)\n\nThis is a parser for Applesoft BASIC intended for use with language servers.  It is built using the [Tree-sitter](https://tree-sitter.github.io/tree-sitter/) system. The native parser is a C library. Bindings are possible for several languages, but only the [rust crate](https://crates.io/crates/tree-sitter-applesoft) is actively maintained.  There is a [node package](https://www.npmjs.com/package/tree-sitter-applesoft) that can be updated upon request.\n\nFor details on parser usage and design see the [wiki](https://github.com/dfgordon/tree-sitter-applesoft/wiki).\n\n## Pre-Build Process\n\nIf you are changing the grammar, be aware the file `grammar.js` is actually generated by the metaprogram `token_processor.py`.  This takes `grammar-src.js`, `scanner-src.c`, and `token_list.txt` as inputs.\n\n## Build Process\n\nOnce you have `grammar.js` you run `tree-sitter generate` to produce `src/parser.c` and, in turn, the bindings for whatever languages are specified in `tree-sitter.json`.  If you want to compile a WASM parser you can follow up with `tree-sitter build -w`.\n\n## Build Script\n\nThe `build.py` script takes care of all of the above steps, and will also run the tests.  It produces a case insensitive parser, but can be easily modified to produce a case sensitive one.  It can be adjusted to either accept or not accept extended `CALL` syntax.\n\n## References\n\n1. Applesoft BASIC Programmer's Reference Manual - Volume 1\n2. Applesoft BASIC Programmer's Reference Manual - Volume 2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfgordon%2Ftree-sitter-applesoft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfgordon%2Ftree-sitter-applesoft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfgordon%2Ftree-sitter-applesoft/lists"}