{"id":29907951,"url":"https://github.com/kx0101/liakos-language","last_synced_at":"2025-08-01T23:15:13.914Z","repository":{"id":261020984,"uuid":"882604013","full_name":"kx0101/liakos-language","owner":"kx0101","description":"Writing An Interpreter (Tree-Walking) In Go from scratch, using Vaughan Pratt's Parser For Educational Purposes","archived":false,"fork":false,"pushed_at":"2025-07-25T21:18:49.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-26T04:35:19.602Z","etag":null,"topics":["ast","expressions","go","golang","identifiers","interpreter","lexer","parser","pratt-parser","repl","statements","tokenizer","tokens","vaughan-pratt"],"latest_commit_sha":null,"homepage":"","language":"Go","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/kx0101.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,"zenodo":null}},"created_at":"2024-11-03T09:54:28.000Z","updated_at":"2025-07-25T21:18:52.000Z","dependencies_parsed_at":"2024-11-04T09:22:36.988Z","dependency_job_id":"e73ff623-47cc-477c-963b-fdb833691cfe","html_url":"https://github.com/kx0101/liakos-language","commit_stats":null,"previous_names":["kx0101/monkey-language","kx0101/liakos-language"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kx0101/liakos-language","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kx0101%2Fliakos-language","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kx0101%2Fliakos-language/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kx0101%2Fliakos-language/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kx0101%2Fliakos-language/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kx0101","download_url":"https://codeload.github.com/kx0101/liakos-language/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kx0101%2Fliakos-language/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268310848,"owners_count":24230191,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"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":["ast","expressions","go","golang","identifiers","interpreter","lexer","parser","pratt-parser","repl","statements","tokenizer","tokens","vaughan-pratt"],"created_at":"2025-08-01T23:15:09.556Z","updated_at":"2025-08-01T23:15:13.884Z","avatar_url":"https://github.com/kx0101.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n- **REPL (Read-Eval-Print Loop)**\n- **Primitive Types**: `int`, `bool`, `string`\n- **Data Structures**: Arrays (`[]`) \u0026 Hash maps (`{}`)\n- **Arithmetic Expressions**: `+`, `-`, `*`, `/`, `\u003c`, `\u003e`, `==`, `!=`\n- **Variables \u0026 Bindings**: `let` statements\n- **Control Flow**: `if-else`, `return`\n- **Functions**:\n  - First-class \u0026 higher-order\n  - Closures \u0026 lexical scoping\n  - Recursion supported\n- **Built-in Functions**: e.g. `len()`, `first()`, `last()`, `push()`, `print()`\n- **Parser with Pratt Parsing** for correct operator precedence\n- **Error Handling** with informative messages\n- **Lexical Analyzer** (Tokenizer) and recursive descent parser\n\n## 🚀 Getting Started\n\n### 1. Clone the repo\n\n```bash\ngit clone https://github.com/kx0101/liakos-language.git\ncd liakos-language\n```\n\n## REPL\n```bash\ngo run main.go\n\n\u003e\u003e let add = fn(a, b) { return a + b; };\n\u003e\u003e add(2, 3);\n5\n```\n\n## Run a File\nYou can also execute `.liakos` source files:\n\n```bash\n./liakos examples/main.liakos\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkx0101%2Fliakos-language","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkx0101%2Fliakos-language","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkx0101%2Fliakos-language/lists"}