{"id":17844089,"url":"https://github.com/ginglis13/bminor-vim-syntax-highlighting","last_synced_at":"2025-08-27T15:05:14.862Z","repository":{"id":104555803,"uuid":"230525650","full_name":"ginglis13/bminor-vim-syntax-highlighting","owner":"ginglis13","description":"Syntax highlighting in vim for the Bminor language","archived":false,"fork":false,"pushed_at":"2020-10-07T19:13:49.000Z","size":14,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T15:10:04.547Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www3.nd.edu/~dthain/courses/cse40243/fall2019/bminor.html","language":"Vim script","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/ginglis13.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":"2019-12-27T22:14:39.000Z","updated_at":"2021-02-07T21:08:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee70bb58-7121-4064-bb0d-b2e88cb4bd86","html_url":"https://github.com/ginglis13/bminor-vim-syntax-highlighting","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ginglis13/bminor-vim-syntax-highlighting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ginglis13%2Fbminor-vim-syntax-highlighting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ginglis13%2Fbminor-vim-syntax-highlighting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ginglis13%2Fbminor-vim-syntax-highlighting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ginglis13%2Fbminor-vim-syntax-highlighting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ginglis13","download_url":"https://codeload.github.com/ginglis13/bminor-vim-syntax-highlighting/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ginglis13%2Fbminor-vim-syntax-highlighting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272342415,"owners_count":24917625,"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-08-27T02:00:09.397Z","response_time":76,"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":"2024-10-27T21:28:00.088Z","updated_at":"2025-08-27T15:05:14.830Z","avatar_url":"https://github.com/ginglis13.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bminor syntax highlighting in vim\n\nSimple syntax highlighter written in vimscript for the [Bminor language](https://www3.nd.edu/~dthain/courses/cse40243/fall2019/bminor.html).\nThis is a bit too little, too late as the [Compilers and Language Design](https://www3.nd.edu/~dthain/compilerbook/compilerbook.pdf)\ncourse recently ended a few weeks prior to starting this. I had wanted to make this during the semester to make reading and writing Bminor code a bit\neasier, but couldn't find the time to work on it. I figured I might as well make it now that I have time over winter break\nso I can at least learn some more vimscript.\n\n## Vundle Installation\n\nIf you use [vundle](https://github.com/VundleVim/Vundle.vim) then you can simple install by adding:  \n`Plugin 'ginglis13/bminor-vim-syntax-highlighting'`  \nto your .vimrc\n\n## How to use it\n\nYou must have the `syntax` and \t`ftdetect` folders in the top level of your `~/.vim/` folder. `syntax` defines keywords and regular\nexpressions to match things like strings, operators, numbers, etc., and highlights them appropriately. This is doing a lot of the same\nwork as the [scanner](https://www3.nd.edu/~dthain/compilerbook/compilerbook.pdf#chapter.3) stage of the Bminor compiler.\n`ftdetect` just checks a file's extension (`*.bminor`) and uses the appropriate highlighting.\n\nvim reference docs: [http://vimdoc.sourceforge.net/htmldoc/syntax.html](http://vimdoc.sourceforge.net/htmldoc/syntax.html)\n\n## Example\n\n![](https://yld.me/raw/rnK.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fginglis13%2Fbminor-vim-syntax-highlighting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fginglis13%2Fbminor-vim-syntax-highlighting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fginglis13%2Fbminor-vim-syntax-highlighting/lists"}