{"id":23085868,"url":"https://github.com/sty00a4-code/lu","last_synced_at":"2025-04-03T15:29:32.981Z","repository":{"id":205083320,"uuid":"713087936","full_name":"sty00a4-code/lu","owner":"sty00a4-code","description":"A light weight interpreted programming language wirtten in Rust","archived":false,"fork":false,"pushed_at":"2023-12-07T08:05:09.000Z","size":273,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T04:23:43.783Z","etag":null,"topics":[],"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/sty00a4-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null}},"created_at":"2023-11-01T20:13:41.000Z","updated_at":"2024-02-06T11:48:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"446b7532-2d9a-4a19-bbed-2daccefb5667","html_url":"https://github.com/sty00a4-code/lu","commit_stats":null,"previous_names":["sty00a4-code/lu"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sty00a4-code%2Flu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sty00a4-code%2Flu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sty00a4-code%2Flu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sty00a4-code%2Flu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sty00a4-code","download_url":"https://codeload.github.com/sty00a4-code/lu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247027378,"owners_count":20871530,"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":[],"created_at":"2024-12-16T18:12:03.004Z","updated_at":"2025-04-03T15:29:32.946Z","avatar_url":"https://github.com/sty00a4-code.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lu\n\nA light weight interpreted programming language wirtten in Rust\n\n# Guide\n\n## Tutorials\n\n1. [Introduction](/docs/introduction.md)\n\n## Standard Library\n\n- [Global](/docs/std/global.md)\n- [*obj*](/docs/std/obj.md)\n- [*str*](/docs/std/str.md)\n- [*vec*](/docs/std/vec.md)\n\n# To-Do\n\n## Features\n- [x] path impl\n- [x] binary and unary expressions\n- [x] vector and object creation\n- [x] most binary operators\n- [x] control flow\n  - [x] if\n  - [x] while\n- [x] function creation\n- [x] error stack\n- [x] optimizations\n## Environment\n- [x] function `setmeta(object, meta)`: set the meta information of an object\n- [x] function `error(string)`: raise an error\n- [x] module `vec`\n  - len(): length of the vector\n  - push(value): push on front\n  - pop(idx): pop index of\n  - insert(idx, value): insert into the vector at idx\n  - pos(func): get postion of value\n- [x] module `str`\n  - len(): length of string\n  - sub(start, end): create a substring from the defined range\n  - char(byte): create a string of the character by the byte\n  - byte(idx): get the byte if the string at idx's position\n  - upper(s): puts the strings characters in upper case\n  - lower(s): puts the strings characters in lower case\n- [x] module `math`\n  - floor(n)\n  - ceil(n)\n  - round(n)\n  - abs(n)\n  - cos(n)\n  - sin(n)\n  - tan(n)\n  - acos(n)\n  - asin(n)\n  - atan(n)\n  - atan2(a, b)\n  - cosh(n)\n  - sinh(n)\n  - tanh(n)\n- [x] module `fs`\n  - read(path): read file at path and return content\n  - write(path, content): write the content to the file at path\n  - append(path, content): append the content to the file at path\n- [x] module `os`\n- [x] module `io`\n## Use\n- [ ] Install Guide\n- [ ] Playground\n- [ ] Tutorial","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsty00a4-code%2Flu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsty00a4-code%2Flu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsty00a4-code%2Flu/lists"}