{"id":21002878,"url":"https://github.com/mobluse/ratbas2","last_synced_at":"2025-12-29T07:59:05.596Z","repository":{"id":80542910,"uuid":"216280228","full_name":"mobluse/ratbas2","owner":"mobluse","description":"Rational BASIC ─ gives C-like structures to BASIC with only GOTO ─ Uses RatFOR (Rational Fortran)","archived":false,"fork":false,"pushed_at":"2021-01-03T18:44:26.000Z","size":48,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T10:09:44.792Z","etag":null,"topics":["basic","basic-programming","basic-programming-language","c64","commander-x16","commanderx16","cx16","fortran","fortran66","goto","ratfor","vic20","x16"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mobluse.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-10-19T22:54:16.000Z","updated_at":"2023-02-12T15:06:40.000Z","dependencies_parsed_at":"2023-04-07T18:47:01.957Z","dependency_job_id":null,"html_url":"https://github.com/mobluse/ratbas2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobluse%2Fratbas2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobluse%2Fratbas2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobluse%2Fratbas2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobluse%2Fratbas2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mobluse","download_url":"https://codeload.github.com/mobluse/ratbas2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243419128,"owners_count":20287806,"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":["basic","basic-programming","basic-programming-language","c64","commander-x16","commanderx16","cx16","fortran","fortran66","goto","ratfor","vic20","x16"],"created_at":"2024-11-19T08:20:51.090Z","updated_at":"2025-12-29T07:59:05.567Z","avatar_url":"https://github.com/mobluse.png","language":"C","readme":"# RatBAS2\nRational BASIC ─ gives C-like structures to BASIC with only GOTO ─ Uses RatFOR (Rational Fortran).\n\nConvert from RasBAS2 (RatFOR with BASIC V2 in the lines) into BASIC with labels:\n`r2non.sh test.r`  \nThe BASIC in RatFOR need to use backtick (\\`) instead of semicolon (;). See the file `test.r` for an example of RatBAS2 code.\n\nThen convert using [`autonum.sh`](https://web.archive.org/web/20200530202921/http://temp.murray2.com/threads/basic-without-line-numbers.406/) to a file with line numbers.\n\nThe `ratfor` source comes from Raspbian Buster Linux (i.e. same as Debian), using `apt source ratfor`, but has been modified\nto have an extra argument `-6` that translates into Fortran 66 instead of Fortran 77. Build `ratfor` using `make` in Linux.\n\n[RATFOR — A Preprocessor for a Rational Fortran](https://wolfram.schneider.org/bsd/7thEdManVol2/ratfor/ratfor.pdf), Brian W. Kernighan\n\n[BASIC without line numbers?](https://web.archive.org/web/20200530202921/http://temp.murray2.com/threads/basic-without-line-numbers.406/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobluse%2Fratbas2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmobluse%2Fratbas2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobluse%2Fratbas2/lists"}