{"id":39730034,"url":"https://github.com/pisaiah/java2v","last_synced_at":"2026-01-18T11:00:45.798Z","repository":{"id":160183631,"uuid":"340366435","full_name":"pisaiah/java2v","owner":"pisaiah","description":"A Java to V translator/transpiler.","archived":false,"fork":false,"pushed_at":"2022-03-18T23:06:30.000Z","size":1097,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-09-09T00:36:19.568Z","etag":null,"topics":["java","java2c","transpiler","v","vlang","vlang-module"],"latest_commit_sha":null,"homepage":"https://isaiahpatton.github.io/java2v/","language":"Java","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/pisaiah.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}},"created_at":"2021-02-19T12:44:11.000Z","updated_at":"2023-09-09T00:36:24.427Z","dependencies_parsed_at":"2023-09-09T00:51:59.545Z","dependency_job_id":null,"html_url":"https://github.com/pisaiah/java2v","commit_stats":null,"previous_names":["pisaiah/java2v"],"tags_count":1,"template":null,"template_full_name":null,"purl":"pkg:github/pisaiah/java2v","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pisaiah%2Fjava2v","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pisaiah%2Fjava2v/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pisaiah%2Fjava2v/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pisaiah%2Fjava2v/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pisaiah","download_url":"https://codeload.github.com/pisaiah/java2v/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pisaiah%2Fjava2v/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28535156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"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":["java","java2c","transpiler","v","vlang","vlang-module"],"created_at":"2026-01-18T11:00:26.212Z","updated_at":"2026-01-18T11:00:45.769Z","avatar_url":"https://github.com/pisaiah.png","language":"Java","funding_links":["https://patreon.com/isaiahp"],"categories":[],"sub_categories":[],"readme":"# Java2V ![licence](https://img.shields.io/badge/licence-Unlicense-blue) ![vlang](https://img.shields.io/badge/%20V%20-0.2.4%202021.39.1-%236d8fc5)  [![patreon](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3Disaiahp%26type%3Dpledges)](https://patreon.com/isaiahp)\n\nJava2V Transpiler (J2V) provides the ability to transpile Java source into human-readable V that can be compiled using V's C, or Javascript backends.\nA subset of the Java Class Library *([See docs](https://isaiahpatton.github.io/java2v/))* is also implemented for use.\n\n## Example\n\nInput:\n```java\npublic static void main(String[] args) {\n\tFile file = new File(\"data.txt\");\n\tSystem.out.println(\"File name: \" + file.getName());\n\n\tList\u003cString\u003e content = Files.readAllLines(file.toPath());\n  \tfor (String line : content) {\n\t\tSystem.out.println(line);\n  \t}\n}\n```\n\nOutput:\n```v\nfn main() {\n\tmut file := io.file(\"data.txt\")\n\tprintln(\"File name: \" + file.get_name())\n\n\tmut content := nio.read_all_lines(file.to_path())\n\tfor mut line in content {\n\t\tprintln(line)\n\t}\n}\n```\n\n## Repo Structure\n\nThere are two modules in this repository.\n\n- ``jcl/`` - Classes from the [Java Class Library](https://docs.oracle.com/javase/8/docs/api/) reimplemented in V.\n- ``src/`` - Main transpiler source. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpisaiah%2Fjava2v","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpisaiah%2Fjava2v","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpisaiah%2Fjava2v/lists"}