{"id":17057988,"url":"https://github.com/chimeracoder/koro","last_synced_at":"2025-04-12T17:43:39.282Z","repository":{"id":53263588,"uuid":"67298271","full_name":"ChimeraCoder/koro","owner":"ChimeraCoder","description":"A Bengali (বাংলা) version of the Go compiler and toolchain","archived":false,"fork":false,"pushed_at":"2018-03-14T17:13:21.000Z","size":106961,"stargazers_count":81,"open_issues_count":2,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T12:03:55.058Z","etag":null,"topics":["bengali","go","golang","i18n","koro"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChimeraCoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-03T15:48:46.000Z","updated_at":"2024-12-26T11:17:37.000Z","dependencies_parsed_at":"2022-08-27T06:21:31.278Z","dependency_job_id":null,"html_url":"https://github.com/ChimeraCoder/koro","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/ChimeraCoder%2Fkoro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChimeraCoder%2Fkoro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChimeraCoder%2Fkoro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChimeraCoder%2Fkoro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChimeraCoder","download_url":"https://codeload.github.com/ChimeraCoder/koro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248608917,"owners_count":21132811,"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":["bengali","go","golang","i18n","koro"],"created_at":"2024-10-14T10:28:36.186Z","updated_at":"2025-04-12T17:43:39.244Z","avatar_url":"https://github.com/ChimeraCoder.png","language":"Go","readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/ChimeraCoder/koro/master/gopher_tiger.svg?sanitize=true\" width=\"300px\"\u003e\n\u003c/div\u003e\n\n[![Build Status](https://travis-ci.org/ChimeraCoder/koro.svg?branch=master)](https://travis-ci.org/ChimeraCoder/koro)\n\n#  করো\n\nকরো (koro) is an extension of the Go compiler and toolchain to support programming in Bengali (বাংলা). \n\nYou can read this README in [English](#english) or in [Bengali](#বাংলা).\n\nকরো go কম্পাইলারের একটি এক্সটেনশন এবং বাংলা ভাষায় প্রোগ্রামিং করার  টুলচেইন। \n\nএই রিডমিটা ইংরেজি আর বাংলাতে  পড়তে পারো।\n\n\n# বাংলা\n\n করো(koro) go কম্পাইলারের একটি এক্সটেনশন এবং বাংলা ভাষায় প্রোগ্রামিং করার  টুলচেইন। \n\ngo কম্পাইলারকে যেভাবে কম্পাইল করা হয়, তেমনি ভাবেই কর কেও কম্পাইল করা যাবে। তোমার দরকার go কম্পাইলারের একটি বাইনারী কপি অথবা কর এর কোনো আগের version।\n\n```sh\n$ cd src/\n$ ./all.bash\n```\n\nউপরের কমান্ড বিন (`bin/`) ফোল্ডারে দুইটা ফাইল তৈরি করবে - একটা হল `go`, আরেকটি `gofmt`। প্রোগ্রামিং করার সময় যেন কোন সন্দেহ বা অসুবিধা না হয়, সে জন্য উপরিল্লেখিত ফাইল দুটি রিনেম করে `koro` এবং `korofmt` করা যায়। যদিও একই ফাইল ব্যবহার করে ইংরেজি ভাষায় go কোড লিখা যাবে।\n\nইংরেজি `go` আর বাংলা `go` এর সিনটেক্সে কোন তারতম্য নাই। এক্ষেত্রে ইংরেজি এর সাথে বাংলা `go` প্রোগ্রামিং এর ক্ষেত্রে বাংলা কিওয়ার্ডগুলোও ভ্যালিড। বাংলার সব ভ্যালিড কিওয়ার্ডগুলো গুলো হল - \n\n `ভাঙ্গা`, `ক্ষেত্রে`, \t`চ্যানেল`, `ধ্রুবক`, `চলো`, \t`ডিফল্ট`, `মুলতবি`, `অন্যভাবে`, `নির্ঝর`, `যখনই`,`ফ`, `কর`,`লাফ`,`যদি`,`আমদানি`,`ইন্টারফেস`,`অভিধান`,`প্যাকেজ`,`প্রতিটি`,`ফিরুন`,`নির্বাচন`, `গঠন`, `সুইচ`,`ধরনের`, `পরিবর্তনশীল`\n\nউদাহরণ - এটা সবার জানা \"হ্যালো ওয়ার্ন্ড\" প্রোগ্রাম, \n\n```go\nপ্যাকেজ main\n\nআমদানি \"fmt\"\n\nফ main(){\n    যদি true {\n    fmt.Println(\"Hello, world!\")\n  }\n}\n```\n\nযেমন করে ইংরেজি go কম্পাইলার দিয়ে go প্রোগ্রাম কম্পাইল করা হয় - `go build`, `go run`, তেমনি ভাবেই, এই প্রোগ্রাম ও কম্পাইল করা\nসম্ভব। যদি কম্পাইলারের নাম পরিবতন করে `koro` করে থাক, তবে, উপরের প্রোগ্রাম নিচের কমান্ড লিখেই রান করা যাবে - \n\n```\nsh\n$ koro run koro_hello_world.go\n```\n\nkoro এর কোড ইংরেজিতে অনুবাদ করার জন্য, শুধু রান কর `korofmt`। বাংলা এর ক্ষেত্রে go কম্পাইলার ফ্ল্যাগের কোন পরিবতন হবে না, অর্থাৎ ইংরেজি ও বাংলার জন্য একই রকম থাকবে। যেমন - \n\n```\nsh\n$ korofmt koro_hello_world.go\n```\n\nএই কমান্ড কনসলে (বা  STDOUT) এ বাংলা অংশটুকু অটোমেটিক ভাবে ইংরেজি করে দিবে।\n\n```\ngo\npackage main\n\nimport \"fmt\"\n\nfunc main() {\n\tif true {\n\t\tfmt.Println(\"Hello, world!\")\n\t}\n}\n```\n\n\n# English\n\n করো (koro) is an extension of the Go compiler and toolchain to support programming in Bengali (বাংলা).\n\n\n\n## Building the করো toolchain\n\nCompiling করো is similar to compiling the Go compiler from scratch. You will need either a binary copy of the Go compiler (version 1.4 or higher), or a previous version of করো \n\n```sh\n$ cd src/\n$ ./all.bash\n```\n\nThis will create two files in `bin/` - one named `go` and one named `gofmt`. It is recommended to rename or symlink these to `koro` and `korofmt` before adding them to your path to avoid confusion; however, these can be used to compile English Go code as well.\n## Writing in করো\n\nThe syntax of করো is exactly the same as the syntax of English Go, except that Bengali keywords are valid syntax. The full list of Bengali করো keywords is:\n\n `ভাঙ্গা`, `ক্ষেত্রে`, \t`চ্যানেল`, `ধ্রুবক`, `চলো`, \t`ডিফল্ট`, `মুলতবি`, `অন্যভাবে`, `নির্ঝর`, `যখনই`,`ফ`, `কর`,`লাফ`,`যদি`,`আমদানি`,`ইন্টারফেস`,`অভিধান`,`প্যাকেজ`,`প্রতিটি`,`ফিরুন`,`নির্বাচন`, `গঠন`, `সুইচ`,`ধরনের`, `পরিবর্তনশীল`\n\nFor example, this is a \"Hello, world\" program:\n\n\n```go\nপ্যাকেজ main\n\nআমদানি \"fmt\"\n\nফ main(){\n    যদি true {\n    fmt.Println(\"Hello, world!\")\n  }\n}\n```\n\nRunning your program works identically to the English Go compiler -`go build`, `go run`, etc. Assuming you have named your করো compiler as `koro`, you can run this program with:\n\n```sh\n$ koro run koro_hello_world.go\n```\n\n\n## Translating করো to English Go\n\n\nTo translate করো code into English, simply run `korofmt`. The flags are identical to `gofmt`. For example:\n\n\n\n```sh\n$ korofmt koro_hello_world.go\n```\n\nwill write the following to STDOUT:\n\n```go\npackage main\n\nimport \"fmt\"\n\nfunc main() {\n\tif true {\n\t\tfmt.Println(\"Hello, world!\")\n\t}\n}\n```\n\n\n## Contributions\n\nContributions welcome. And most importantly, মজা করো!\n\n![Gopher image](doc/gopher/biplane.jpg)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchimeracoder%2Fkoro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchimeracoder%2Fkoro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchimeracoder%2Fkoro/lists"}