{"id":15144324,"url":"https://github.com/pinbraerts/tree-sitter-fastbuild","last_synced_at":"2025-10-23T20:32:23.148Z","repository":{"id":225356216,"uuid":"764765960","full_name":"pinbraerts/tree-sitter-fastbuild","owner":"pinbraerts","description":"FASTBuild grammar for tree-sitter","archived":false,"fork":false,"pushed_at":"2024-07-13T17:20:39.000Z","size":694,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-27T10:41:12.314Z","etag":null,"topics":["fastbuild","parser","tree-sitter"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/pinbraerts.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":"2024-02-28T17:08:24.000Z","updated_at":"2024-07-31T02:12:02.000Z","dependencies_parsed_at":"2024-07-07T18:41:39.446Z","dependency_job_id":null,"html_url":"https://github.com/pinbraerts/tree-sitter-fastbuild","commit_stats":null,"previous_names":["pinbraerts/tree-sitter-fastbuild"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinbraerts%2Ftree-sitter-fastbuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinbraerts%2Ftree-sitter-fastbuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinbraerts%2Ftree-sitter-fastbuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinbraerts%2Ftree-sitter-fastbuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pinbraerts","download_url":"https://codeload.github.com/pinbraerts/tree-sitter-fastbuild/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867845,"owners_count":16555812,"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":["fastbuild","parser","tree-sitter"],"created_at":"2024-09-26T10:40:29.412Z","updated_at":"2025-10-23T20:32:17.833Z","avatar_url":"https://github.com/pinbraerts.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tree-sitter-fastbuild\n\n[FASTBuild](https://github.com/fastbuild/fastbuild) grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter)\n\n## Usage\n\nIt's not published on grammar lists yet\n\n### [NeoVim](https://github.com/neovim/neovim/) using [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter) via [Lazy.nvim](https://github.com/folke/lazy.nvim)\n\n```lua\n{\n  \"pinbraerts/tree-sitter-fastbuild\",\n  build = \":TSInstall fastbuild\",\n  dependencies = {\n    \"nvim-treesitter/nvim-treesitter\",\n  },\n},\n```\n\n\u003cdetails\u003e\n\n\u003csummary\u003eWithout plugin system\u003c/summary\u003e\n\n```lua\nlocal parsers = require 'nvim-treesitter.parsers'.get_parser_configs()\nvim.filetype.add {\n  extension = {\n    bff = 'fastbuild',\n  },\n}\nparsers.fastbuild = {\n  install_info = {\n    url = 'https://github.com/pinbraerts/tree-sitter-fastbuild.git',\n    branch = 'main',\n    files = {\n      'src/parser.c',\n      'src/scanner.c',\n    },\n    generate_requires_npm = false,\n    requires_generate_from_grammar = false,\n  },\n  filetype = 'fastbuild',\n}\n```\n\nAnd then\n\n```\n:TSInstall fastbuild\n```\n\nYou need to copy queries to some nvim runtime path directory\n\n#### shell\n\n```bash\nln -s /path/to/cloned/tree-sitter-fastbuild/queries ~/.config/nvim/after/queries/fastbuild\n```\n\n#### powershell\n\n```powershell\nNew-Item -Type SymbolicLink -Value path\\to\\cloned\\tree-sitter-fastbuild\\queries -Path $env:LOCALAPPDATA\\nvim\\after\\queries\\fastbuild\n```\n\n\u003c/details\u003e\n\n## Features\n\n- [x] Highlighting\n- [x] Locals\n- [x] [Context](https://github.com/nvim-treesitter/nvim-treesitter-context)\n- [x] Folds\n- [x] Indentation\n- [x] [Text Objects](https://github.com/nvim-treesitter/nvim-treesitter-textobjects)\n\n## Links\n\n- [Syntax](https://fastbuild.org/docs/syntaxguide.html)\n\n## Example\n\n![examples/example.bff](pictures/example.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinbraerts%2Ftree-sitter-fastbuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpinbraerts%2Ftree-sitter-fastbuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinbraerts%2Ftree-sitter-fastbuild/lists"}