{"id":20882065,"url":"https://github.com/gitkashish/ok_lang","last_synced_at":"2026-04-20T08:32:37.863Z","repository":{"id":234637317,"uuid":"789049903","full_name":"gitKashish/ok_lang","owner":"gitKashish","description":"An interpreted programming language made in Java.","archived":false,"fork":false,"pushed_at":"2024-07-08T17:56:34.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T20:10:43.711Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitKashish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-04-19T15:57:13.000Z","updated_at":"2024-08-08T15:23:26.000Z","dependencies_parsed_at":"2024-05-02T18:59:03.336Z","dependency_job_id":"fad2c85b-2c21-4c28-864c-f5db0d536881","html_url":"https://github.com/gitKashish/ok_lang","commit_stats":null,"previous_names":["gitkashish/ok_lang"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gitKashish/ok_lang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitKashish%2Fok_lang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitKashish%2Fok_lang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitKashish%2Fok_lang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitKashish%2Fok_lang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitKashish","download_url":"https://codeload.github.com/gitKashish/ok_lang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitKashish%2Fok_lang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32040061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-18T07:28:52.743Z","updated_at":"2026-04-20T08:32:37.821Z","avatar_url":"https://github.com/gitKashish.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OkLang\n\nOkLang is an interpreted **Turing Complete** programming language, created as a minor semester project. Ok_Lang is built as a minimalistic language with *decent* Runtime, Parsing and Syntax Error handling.\n\n## Features\n\n* Dynamic Type.\n* Scalar values (Number, String, Boolean).\n* Block variable scope.\n* User-defined and Built-in functions with closure.\n* Control Flow (Branching and Looping).\n* Expression Evaluation as per standard precedence.\n\n## Installing / Building\n\nUse Latest JDK version for best support. (JDK 18.0.x used during development)\n\n```bash\ngit clone https://github.com/gitKashish/ok_lang\n```\n\nBuild using the provided bash script or manually compile package.\n```bash\nbash ./build_ok.sh\n```\n\n## Running `.ok` programs.\nRun the following command without source file to run REPL.\n```bash\nbash ./ok.sh source/code/file/path.ok\n```\n\n## Basic Syntax\n\n* Variables are by default initialized to `nil`.\n* `print` and `clock` are the only two built-in functions at the moment.\n\nDeclaring variable\n```js\n// This is a comment.\n// It only works for a single line.\n```\n\n\nDeclaring variable\n```js\nvar myVariable;\nmyVariable = 10 * 20 + (10 - 10);\n```\n\nBranching Control Flow\n```js\nif (expression) { ... }\n```\n\nLooping Control Flow\n```js\nwhile (expression) { ... }\n\nfor (decl; expression; increment/decrement) { ... }\n```\n\nFunction Declaration\n```js\nfun functionName (argument/s) {\n  ...\n  return expression;\n}\n```\n\n#### Reference from \"Crafting Interpreters\" by Robert Nystorm.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitkashish%2Fok_lang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitkashish%2Fok_lang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitkashish%2Fok_lang/lists"}