{"id":29128127,"url":"https://github.com/ditzdev/lizard","last_synced_at":"2025-06-30T01:05:17.811Z","repository":{"id":301657271,"uuid":"1009939225","full_name":"DitzDev/lizard","owner":"DitzDev","description":"The Interpreter Lizard Programming Language","archived":false,"fork":false,"pushed_at":"2025-06-28T02:28:22.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-28T03:26:33.664Z","etag":null,"topics":["interpreter","programming-language"],"latest_commit_sha":null,"homepage":"","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/DitzDev.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,"zenodo":null}},"created_at":"2025-06-28T02:22:13.000Z","updated_at":"2025-06-28T02:35:38.000Z","dependencies_parsed_at":"2025-06-28T03:36:39.436Z","dependency_job_id":null,"html_url":"https://github.com/DitzDev/lizard","commit_stats":null,"previous_names":["ditzdev/lizard"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DitzDev/lizard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DitzDev%2Flizard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DitzDev%2Flizard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DitzDev%2Flizard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DitzDev%2Flizard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DitzDev","download_url":"https://codeload.github.com/DitzDev/lizard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DitzDev%2Flizard/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262690485,"owners_count":23349168,"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":["interpreter","programming-language"],"created_at":"2025-06-30T01:05:15.268Z","updated_at":"2025-06-30T01:05:17.795Z","avatar_url":"https://github.com/DitzDev.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🦎 Lizard Programming Language\n\n**Lizard** is a interpreted programming language with a clean syntax, static type, and friendly error messages. It's inspired by modern languages like Rust and Python, but focused on ease of use and readability. The `.lz` file extension is used for Lizard source files.\n\n\u003e Lizard is still under development. Contributions, suggestions, and feedback are welcome!\n\n## Installation \nMake sure `make` is installed on your system, Run `make help` to see all the options.\n\n## Features\n\n### Comments\n\nLizard supports both single-line and multi-line comments:\n\n```lz\n# This is a single-line comment\n\n###\nThis is a \nmulti-line comment\n###\n```\n\n## Functions\n\nLizard supports function definitions with both automatic and explicit return type declarations:\n```lz\n# Function with auto type detection\nfnc sayHello(string name) {\n    return \"Hai \" + name;\n}\n\nprintln(sayHello(\"Adit\"));\n\n# Function with explicit return type\nfnc add(int a, int b) -\u003e int {\n    return a + b;\n}\n\nprintln(add(30, 20));\n```\n\n## Arithmetic Operations\n\n```lz\nfnc minus(int a, int b) -\u003e int {\n    return a - b;\n}\n\nfnc times(int a, int b) -\u003e int {\n    return a * b;\n}\n\nfnc division(int a, int b) -\u003e float {\n    return a / b;\n}\n\nprintln(minus(30, 20));\nprintln(times(300, 800));\nprintln(division(100, 20));\n```\n\n## Printing\n\nOutput values using the println() function:\n```lz\nprintln(\"Hello World\");\n\n```\n\n## Variables\n\nLizard supports variables with both explicit and inferred types. All variables must be declared with let.\n\n```lz\n# With explicit type\nlet string: name = \"Adit\";\n\n# With inferred type\nlet name = \"ADIT\";\n\nprintln(name);\n```\n\n\u003e ⚠️ Currently, all variables are mutable. Immutable variables are not yet supported.\n\n## Roadmap / TODO\n\n- [ ] import statement\n- [ ] if / else control structures\n- [ ] for loop\n- [ ] while / do loop\n- [ ] Macro functions (under consideration for interpreted language)\n- [ ] Fully featured Object-Oriented Programming (OOP)\n- [ ] Standard Library (0% complete)\n- [x] String formatting (e.g., \"Hello ${name}\")\n- [ ] Assignment operators (+=, -=, etc.)\n- [ ] Logical and comparison operators (==, !=, \u0026\u0026, ||, etc.)\n- [ ] Boolean data type and expressions\n- [ ] Error handling (try/catch, custom errors)\n- [ ] Arrays / Lists\n- [ ] Hash maps / Dictionaries\n- [ ] Function overloading\n- [ ] Pattern matching / match expression\n- [ ] Module system\n\n\n## Examples\n\nSee the `tests/` directory for more example code written in Lizard.\n\n## Development Status\n\nLizard is still a work in progress, with a focus on simplicity, clarity, and developer-friendly error messages. Expect breaking changes and rapid improvements as the language evolves.\n\n\n## License\n\nThis project is licensed under the GNU General Public License v3.0 (GPLv3).\nSee the LICENSE file for more information.\n\n\n## Contributions\n\nFeel free to fork, open issues, or suggest ideas! Your input will help shape Lizard into a powerful and user-friendly language.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fditzdev%2Flizard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fditzdev%2Flizard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fditzdev%2Flizard/lists"}