{"id":19415026,"url":"https://github.com/jakeroggenbuck/jai","last_synced_at":"2025-04-24T12:32:25.234Z","repository":{"id":47588719,"uuid":"398405851","full_name":"JakeRoggenbuck/jai","owner":"JakeRoggenbuck","description":" Jai is a programming language","archived":false,"fork":false,"pushed_at":"2023-10-12T19:44:18.000Z","size":136,"stargazers_count":7,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-10-14T21:48:25.508Z","etag":null,"topics":["language","lexer","parser","python","rust"],"latest_commit_sha":null,"homepage":"","language":"Python","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/JakeRoggenbuck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-20T21:38:33.000Z","updated_at":"2023-10-12T19:44:24.000Z","dependencies_parsed_at":"2022-08-30T21:12:32.399Z","dependency_job_id":null,"html_url":"https://github.com/JakeRoggenbuck/jai","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeRoggenbuck%2Fjai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeRoggenbuck%2Fjai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeRoggenbuck%2Fjai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeRoggenbuck%2Fjai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JakeRoggenbuck","download_url":"https://codeload.github.com/JakeRoggenbuck/jai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223954440,"owners_count":17231187,"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":["language","lexer","parser","python","rust"],"created_at":"2024-11-10T12:41:18.256Z","updated_at":"2024-11-10T12:41:18.883Z","avatar_url":"https://github.com/JakeRoggenbuck.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jai ![Pytest](https://img.shields.io/github/actions/workflow/status/jakeroggenbuck/jai/pytest.yml?style=for-the-badge)\nOur entry to the [langjam](https://github.com/langjam/jam0001)\n\n![image](https://user-images.githubusercontent.com/35516367/130336716-99aa86e5-3f79-4081-b8fa-6a133ca90e87.png)\n\n# Requirements:\nRust \u0026 Python\n1. Pip requirements: run \n\t\n\t```sh\n\tpip install -r requirements.txt\n\t```\n\n# Build instructions\n1. Build the lexer crate with\n\t\n\t```sh\n\tmaturin build\n\t```\n\n2. Install lexer with \n\t\n\t```sh\n\tpip install ./target/wheels/jai-0.1.1-*\n\t# Add a `--force-reinstall` if reinstalling\n\t```\n\n# Troubleshooting\n- If you get something saying `maturin command not found` after you install it via pip. Try using `python3 -m pip` to install it and `python3 -m maturin` to run it.\n- If jai does not seem to change after editing the source, make sure to do the build instructions again and use `--force-reinstall`\n\n# Test\n1. Run build instructions\n2. run pytest\n\n![image](https://user-images.githubusercontent.com/35516367/130387800-f4a18210-7c27-4290-9f8d-3eca4d53caad.png)\n\n# Syntax\n## Variable\n```c\nvariable: type;\nvariable: type = value;\n```\n\n## Functions\n```c\nfn myfunc(num: int) -\u003e int {\n    return num + 10;\n}\n```\n\n# Types\n| Name | details    |\n|------|------------|\n| int  | an integer |\n| str  | a string   |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakeroggenbuck%2Fjai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakeroggenbuck%2Fjai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakeroggenbuck%2Fjai/lists"}