{"id":25492408,"url":"https://github.com/peeeuzin/lv8","last_synced_at":"2026-02-07T17:33:08.205Z","repository":{"id":236582238,"uuid":"792902485","full_name":"peeeuzin/lv8","owner":"peeeuzin","description":"A homemade programming language made in Rust, designed to do the same thing other programming languages do.","archived":false,"fork":false,"pushed_at":"2025-01-13T00:06:55.000Z","size":60,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T00:16:37.326Z","etag":null,"topics":["lv8","lv8-lang","programming-language","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peeeuzin.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":"2024-04-27T21:53:00.000Z","updated_at":"2025-01-13T00:46:00.000Z","dependencies_parsed_at":"2025-01-13T01:20:00.742Z","dependency_job_id":"2e129e21-9ec0-4458-9245-dce9a3274a10","html_url":"https://github.com/peeeuzin/lv8","commit_stats":null,"previous_names":["peeeuzin/lv8"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peeeuzin/lv8","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peeeuzin%2Flv8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peeeuzin%2Flv8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peeeuzin%2Flv8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peeeuzin%2Flv8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peeeuzin","download_url":"https://codeload.github.com/peeeuzin/lv8/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peeeuzin%2Flv8/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29201154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T16:28:23.579Z","status":"ssl_error","status_checked_at":"2026-02-07T16:28:22.566Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["lv8","lv8-lang","programming-language","rust"],"created_at":"2025-02-18T22:29:42.706Z","updated_at":"2026-02-07T17:33:08.137Z","avatar_url":"https://github.com/peeeuzin.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 LV8\nLV8 (pronounced \"levieight\") is interpreted dynamically typed programming language. The language is heavily inspired by Lua, Python and Elixir.\n\n# Features\n- [x] ~~Variables~~\n- [x] ~~Functions~~\n- [x] ~~Function calls~~\n- [x] ~~Math expressions~~\n- [x] ~~Comments~~\n- [x] ~~Modules~~\n- [x] ~~Imports~~\n- [ ] Flow control (if, else, while, for) (Currently only `if` statement is available)\n- [ ] Standard library (Currently only `print` function is available)\n- [ ] Garbage collection\n- [ ] Error handling\n\n# 🚨 Warning\nThis language is not meant to be used in production, it is just a fun project to learn how to make a programming language.\n\n# 🔗 Contributing\nIf you would like to contribute to this project, feel free to fork the repository and make a pull request. I am open to any suggestions or improvements.\n\n# Getting Started\nCurrently, the project is not published to any package manager, so you will need to clone the repository and build the project yourself.\n\n## Prerequisites\n- **Rust (1.76.0)**\n\n## Installation\n1. Clone the repository\n```bash\ngit clone https://github.com/peeeuzin/lv8\n```\n\n2. Build LV8\n```bash\ncd lv8\ncargo install --path lv8\n```\n\n3. Run the project\n```bash\nlv8 examples/hello_world.lv\n```\n\n# Examples\n## 👋 Hello World\n```lv8\nfun main() do\n  print(\"Hello, World!\")\nend\n\nmain()\n```\n\nrun: `lv8 examples/hello_world.lv`\n\n## 🧮 Math Expression\n```lv8\nfun calculate_math(a, b, c) do\n  return a * (b + c)\nend\n\nprint(\"2 * (3 + 4) =\", calculate_math(2, 3, 4))\n```\n\nrun: `lv8 examples/math_expression.lv`\n\n# LV8 Syntax\n\n## Variables\nVariables in LV8 are dynamically typed, which means you don't need to specify the type of the variable when declaring it.\n```lv8\nmy_variable = 10\nmy_variable = \"Hello, World!\"\n\n# You can also declare multiple variables in one line\nvalue1, value2 = \"Hello!\"\n```\n\n## Functions\nFunctions in LV8 are defined using the `fun` keyword, followed by the function name and the parameters. The function body is defined using the `do` keyword, and ended with the `end` keyword.\n```lv8\nfun my_function() do\n  print(\"Hello, World!\")\nend\n\nmy_function()\n\n# You can also pass parameters to the function\n\nfun calculate_sum(a, b) do\n  return a + b\nend\n\nprint(calculate_sum(2, 3))\n```\n\n## Modules\nYou can declare a module using `module` keyword, followed by the module name. The module body is defined using the `do` keyword, and ended with the `end` keyword.\n```lv8\nmodule Human do\n  my_name = \"\"\n  age = 0\n\n  fun declare_name(new_name) do\n    my_name = new_name\n  end\n\n  fun increase_age() do \n    age = age + 1\n  end\nend\n\nHuman.increase_age()\nHuman.declare_name(\"Pedro\")\n\n# or\n\nHuman.my_name = \"John\"\n```\n\n## Imports\nTo import another file you can use `import`, followed by file path and the module name.\n\n```lv8\n# math.lv8\n\nfun complex_calculation(num1, num2) do\n  return num1 + num2\nend\n```\n\n```lv8\nimport \"math.lv8\" as Math\n\nMath.complex_calculation(1, 2)\n```\n\n\n# 📜 License\nThis project is licensed under the MIT License. For more information, please read the [LICENSE](LICENSE) file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeeeuzin%2Flv8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeeeuzin%2Flv8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeeeuzin%2Flv8/lists"}