{"id":23044642,"url":"https://github.com/cvhariharan/tiny-basic","last_synced_at":"2025-06-22T10:36:23.292Z","repository":{"id":52956827,"uuid":"229184763","full_name":"cvhariharan/Tiny-Basic","owner":"cvhariharan","description":"A tiny and basic TINY-BASIC interpreter","archived":false,"fork":false,"pushed_at":"2021-05-15T16:33:47.000Z","size":68,"stargazers_count":34,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T16:45:38.990Z","etag":null,"topics":["basic","interpreter","tiny","tiny-basic"],"latest_commit_sha":null,"homepage":"","language":"C","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/cvhariharan.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}},"created_at":"2019-12-20T03:42:28.000Z","updated_at":"2024-09-30T17:57:25.000Z","dependencies_parsed_at":"2022-08-26T14:31:24.646Z","dependency_job_id":null,"html_url":"https://github.com/cvhariharan/Tiny-Basic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cvhariharan/Tiny-Basic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvhariharan%2FTiny-Basic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvhariharan%2FTiny-Basic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvhariharan%2FTiny-Basic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvhariharan%2FTiny-Basic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cvhariharan","download_url":"https://codeload.github.com/cvhariharan/Tiny-Basic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvhariharan%2FTiny-Basic/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261279913,"owners_count":23134895,"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","interpreter","tiny","tiny-basic"],"created_at":"2024-12-15T21:14:23.413Z","updated_at":"2025-06-22T10:36:18.263Z","avatar_url":"https://github.com/cvhariharan.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Tiny Basic Interpreter\nA tiny basic interpreter in C. Does not follow the exact language spec as I could not find a standard spec. Still a **WIP**. You can read about the intepreter [here](https://blog.trieoflogs.com/tiny-basic/)\n\n- [x] Implement the grammar (some commands omitted)\n- [x] Comments\n- [ ] Error reporting\n\n```sh\nbuild/tbc examples/fibonacci.tb\n```\n\n### Example Programs  \n**Fibonacci**\n```basic\nREM This code prints n fibonacci numbers\nLET a = 0\nLET b = 1\nLET n = 10\n\nREM This is how loops work for now\n100 PRINT a\nIF n == 0 THEN END\nLET t = b\nLET b = a + b\nLET a = t\nLET n = n - 1\nGOTO 100\n```\n  \n **Gimme some stars**\n ```basic\n PRINT \"How many stars do you want?\"\nLET stars = 0\nINPUT stars\n10 IF stars == 0 THEN END\nPRINT \"*\"\nLET stars = stars - 1\nGOTO 10\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvhariharan%2Ftiny-basic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcvhariharan%2Ftiny-basic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvhariharan%2Ftiny-basic/lists"}