{"id":16557537,"url":"https://github.com/twlite/qbasic","last_synced_at":"2026-04-16T22:32:05.395Z","repository":{"id":57332191,"uuid":"437943467","full_name":"twlite/qbasic","owner":"twlite","description":"QBasic compiler that runs on node.js","archived":false,"fork":false,"pushed_at":"2021-12-15T15:13:49.000Z","size":49,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T03:59:09.847Z","etag":null,"topics":["compiler","node","qbasic"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/qbasic","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/twlite.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":"2021-12-13T16:23:09.000Z","updated_at":"2025-08-15T20:12:00.000Z","dependencies_parsed_at":"2022-09-21T03:50:38.292Z","dependency_job_id":null,"html_url":"https://github.com/twlite/qbasic","commit_stats":null,"previous_names":["devandromeda/qbasic","twlite/qbasic"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/twlite/qbasic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twlite%2Fqbasic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twlite%2Fqbasic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twlite%2Fqbasic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twlite%2Fqbasic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twlite","download_url":"https://codeload.github.com/twlite/qbasic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twlite%2Fqbasic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31907498,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["compiler","node","qbasic"],"created_at":"2024-10-11T20:07:45.646Z","updated_at":"2026-04-16T22:32:05.376Z","avatar_url":"https://github.com/twlite.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QBasic.js\n\nQBasic.js allows you to use **[qb.js](https://github.com/smhanov/qb.js)** inside node projects.\n\n# Example\n\n## CLI\n\n```sh\n$ npx qbasic --source=filePath.bas\n```\n\n`index.js`\n```js\nconst { compileFile } = require(\"qbasic\");\nconst fs = require(\"fs\");\n\nconst { bytecode } = compileFile(\"./demo.bas\");\nfs.writeFileSync(\"./bytecode.txt\", bytecode);\n```\n\n`demo.bas`\n\n```basic\nCLS\nPRINT \"Hello from QBasic\"\nEND\n```\n\n`bytecode.txt`\n\n```txt\n   ' L1 CLS\nsyscall CLS\n   ' L2 PRINT \"Hello from QBasic\"\npushconst Hello from QBasic\nsyscall print\npushconst \n\nsyscall print\n   ' L3 END\nend\nret\nend\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwlite%2Fqbasic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwlite%2Fqbasic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwlite%2Fqbasic/lists"}