{"id":13568036,"url":"https://github.com/barn-lang/barn","last_synced_at":"2026-01-11T21:56:44.875Z","repository":{"id":145471209,"uuid":"547937582","full_name":"barn-lang/barn","owner":"barn-lang","description":"Barn is a simple programming language written in C that is compiled to C.","archived":false,"fork":false,"pushed_at":"2024-07-21T15:46:34.000Z","size":18471,"stargazers_count":57,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-31T09:33:11.727Z","etag":null,"topics":["compilator","compilator-development","programming","programming-language","programming-language-development"],"latest_commit_sha":null,"homepage":"https://barn-lang.github.io/barn-docs/","language":"C","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/barn-lang.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":"2022-10-08T15:51:18.000Z","updated_at":"2025-08-23T19:56:50.000Z","dependencies_parsed_at":"2024-01-14T03:46:15.693Z","dependency_job_id":"2edebf0a-2d31-44f7-90d9-337c7f3ff899","html_url":"https://github.com/barn-lang/barn","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/barn-lang/barn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barn-lang%2Fbarn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barn-lang%2Fbarn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barn-lang%2Fbarn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barn-lang%2Fbarn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barn-lang","download_url":"https://codeload.github.com/barn-lang/barn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barn-lang%2Fbarn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28324548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T18:42:50.174Z","status":"ssl_error","status_checked_at":"2026-01-11T18:39:13.842Z","response_time":60,"last_error":"SSL_read: 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":["compilator","compilator-development","programming","programming-language","programming-language-development"],"created_at":"2024-08-01T14:00:19.216Z","updated_at":"2026-01-11T21:56:44.858Z","avatar_url":"https://github.com/barn-lang.png","language":"C","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://cdn.discordapp.com/icons/1028291656862142466/45ac54896f82c18ddf408e5c35739789.png?size=512\" /\u003e\n\u003c/p\u003e\n\n# Barn Programming Language\n## About\n\nBarn is a simple and efficient programming language designed for beginners and experienced programmers alike. It is compiled to C, making it fast and portable. Barn has a clean and easy-to-read syntax, making it a great choice for learning programming. It also has a growing community of users and contributors.\n\nThis repository includes the whole **BarnC** which is basically Barn compiler written in C, lot's of example programs in Barn and also extensions for well known editors like `Vim, Visual Studio Code, Emacs`\n \n\u003cimg src=\"https://cdn.discordapp.com/attachments/858992887706157056/1189564357114339430/image.png?ex=659e9f23\u0026is=658c2a23\u0026hm=a92a458d0f9d4ffeff77693817353905863f84c831b1827ef8bfcc55c8db9e78\u0026\"\u003e\n\n## Get started with Barn\nWelcome to the exciting world of Barn programming! For a seamless introduction to the language, we highly recommend exploring our documentation, which is available online. Dive into the details and unleash your creativity by visiting [our documentation page](https://barn-lang.github.io/barn-docs/documentation.html).\n\nIf you don't have time to read our documentation check out everything underneath. To get started with Barn you have to install our compiler, to do it correctly put these commands into your (Linux/MacOS) terminal (Windows is not supported right now):\n\n`terminal`\n```\ngit clone https://github.com/barn-lang/barn \u0026\u0026 cd barn\nmake CC=gcc # Set the compiler you will use\nmake install\nbarn --version\n```\nAfter that let's dive into some programming. We will start with the most basic program we can write in any programming language yeah i mean a Hello World.\n\n`main.ba`\n```kotlin\n@import \"std.ba\"\n\nfun main() -\u003e i32 {\n    println(\"Hello, World!\")\n    return 0\n}\n```\nThat's all, after compiling this program by using this command `barn ./main.ba` and running it with `./a.out` you should see a beautiful `Hello, World!` pop up in your terminal window! That is the most basic thing in Barn. We would also recommend to check out some examples in Barn [right here](./examples/)\n## Finding \u0026 reporting bugs\nBarn is a dynamic and evolving programming language, your feedback is crucial in ensuring its stability and performance. If you encounter any bugs or unexpected behavior, we encourage you to report them as fast as possible. If you find a bug please create a new github issue on this [repository](https://github.com/barn-lang/barn/issues), please include code and terminal output. \n\n\n","funding_links":[],"categories":["C","Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarn-lang%2Fbarn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarn-lang%2Fbarn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarn-lang%2Fbarn/lists"}