{"id":13608210,"url":"https://github.com/bait-lang/bait","last_synced_at":"2026-02-20T18:44:25.726Z","repository":{"id":158256955,"uuid":"633946324","full_name":"bait-lang/bait","owner":"bait-lang","description":"Simple toy programming language. Work in progress.","archived":false,"fork":false,"pushed_at":"2025-11-24T23:39:41.000Z","size":1229,"stargazers_count":21,"open_issues_count":17,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-01-22T02:59:50.243Z","etag":null,"topics":["bait","compiler","language","programming-language","self-hosted"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/bait-lang.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2023-04-28T16:39:35.000Z","updated_at":"2026-01-07T20:36:00.000Z","dependencies_parsed_at":"2023-12-09T18:24:04.800Z","dependency_job_id":"979dc248-3ebb-40c4-a6d7-a09a5f3bad70","html_url":"https://github.com/bait-lang/bait","commit_stats":null,"previous_names":["bait-lang/bait","tiabeast/bait"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/bait-lang/bait","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bait-lang%2Fbait","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bait-lang%2Fbait/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bait-lang%2Fbait/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bait-lang%2Fbait/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bait-lang","download_url":"https://codeload.github.com/bait-lang/bait/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bait-lang%2Fbait/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29660300,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T16:33:43.953Z","status":"ssl_error","status_checked_at":"2026-02-20T16:33:43.598Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["bait","compiler","language","programming-language","self-hosted"],"created_at":"2024-08-01T19:01:25.184Z","updated_at":"2026-02-20T18:44:25.698Z","avatar_url":"https://github.com/bait-lang.png","language":"Shell","readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg width=\"120\" src=\"docs/img/bait-logo.png\"\u003e\n\u003ch1\u003eBait programming language\u003c/h1\u003e\n\n[![CI][ci-badge]][gh-actions]\n[![Discord][discord-badge]][discord-invite]\n\n\u003c/div\u003e\n\n\n## Introduction\nThis repository contains the compiler, cli, standard library and documentation for Bait.\n\n```bait\nfun main() {\n    println('hello world')\n}\n```\n\n\n## Key Features\n\u003e **Status:** Active Development.\u003cbr\u003e\n\u003e Bait is usable for personal projects, but please be aware of bugs and incomplete features.\n\n- Consistent syntax balancing simplicity for newcomers with power for experienced developers\n- Type and memory safety with immutability by default\n- Explicit and predictable error handling using Result types\n- JavaScript backend (NodeJS)\n- 🚧 C backend\n- Cross-platform support (Linux, 🚧 Windows)\n\n\n## Documentation\nThe [Language Overview](docs/docs.md) provides a brief introduction to the syntax and features.\n\n\u003e More ressources, docs and examples will be released in the future.\n\n\n## Examples\nSome basic example programs can be found in the [examples](examples) directory.\n\nFor a much larger list of examples, check out the [Rosetta Code solutions][rosetta].\n\n\n## Installation\nRight now Bait has to be compiled from source.\nPrecompiled binaries will be available in the future.\n\n\n## Building from source\n\u003e Required dependencies: `git` and `NodeJS \u003e= 18`\n\nLinux:\n```sh\ngit clone https://github.com/bait-lang/bait\ncd bait\n./make.sh\nsudo ./bait symlink\n```\n\nWindows:\n```powershell\ngit clone https://github.com/bait-lang/bait\ncd bait\n./make.bat\n\n# In admin shell:\n./bait.bat symlink\n```\n\nNow you should have Bait compiled to JS at `\u003crepo\u003e/bait.js`.\n\nThanks to the symlinked wrapper script,\nyou can use the compiler with a simple command like `bait run examples/hello_world.bt`.\n\n\n### Upgrading to the latest version\nTo update Bait to the latest commit, run `bait up`.\n\n\n## Contributing\nYour contributions are always welcome and highly appreciated!\nTo get started, please take a look at [CONTRIBUTING.md](./CONTRIBUTING.md).\n\n\n## Community\nFor progress updates, discussions and support, join the [official Discord server][discord-invite].\n\n\n## License\nBait is provided under the [MIT License](./LICENSE.txt).\n\n\n\u003c!-- links --\u003e\n[ci-badge]: https://github.com/bait-lang/bait/actions/workflows/ci.yml/badge.svg?branch=main\n[gh-actions]: https://github.com/bait-lang/bait/actions/workflows/ci.yml\n[discord-badge]: https://img.shields.io/discord/1204569231992295494?label=Discord\n[discord-invite]: https://discord.gg/sM8mspGMnf\n[rosetta]: https://github.com/bait-lang/rosetta-bait\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbait-lang%2Fbait","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbait-lang%2Fbait","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbait-lang%2Fbait/lists"}