{"id":19515589,"url":"https://github.com/mmhelloworld/jvm-assembler","last_synced_at":"2025-07-21T16:36:41.824Z","repository":{"id":149368368,"uuid":"66541422","full_name":"mmhelloworld/jvm-assembler","owner":"mmhelloworld","description":"JVM bytecode assembler as REST api","archived":false,"fork":false,"pushed_at":"2023-09-27T02:42:24.000Z","size":37,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T08:45:30.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mmhelloworld.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":"2016-08-25T08:47:08.000Z","updated_at":"2023-09-27T02:42:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"c062a545-c2cf-46e9-b46c-1fa432ef2455","html_url":"https://github.com/mmhelloworld/jvm-assembler","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmhelloworld%2Fjvm-assembler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmhelloworld%2Fjvm-assembler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmhelloworld%2Fjvm-assembler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmhelloworld%2Fjvm-assembler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmhelloworld","download_url":"https://codeload.github.com/mmhelloworld/jvm-assembler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250943962,"owners_count":21511664,"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-11-10T23:40:07.947Z","updated_at":"2025-04-26T06:30:54.578Z","avatar_url":"https://github.com/mmhelloworld.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JVM bytecode assembler server\nAssemble JVM bytecode via REST endpoint\n\n## Example\n\n```bash\n$ mvn package\n\n$ jvm-assembler-server/target/appassembler/bin/jvmasm --port 8080 \u0026\n\n$ cat examples/Helloworld.json\n```\n```json\n{\n    \"instructions\": [\n        {\n            \"flags\": 1,\n            \"type\": \"CreateClass\"\n        },\n        {\n            \"parent\": \"java/lang/Object\",\n            \"interfaces\": [],\n            \"name\": \"Helloworld\",\n            \"version\": 52,\n            \"sig\": null,\n            \"type\": \"ClassCodeStart\",\n            \"acc\": 1\n        },\n        {\n            \"type\": \"SourceInfo\",\n            \"name\": \"Helloworld.idr\"\n        },\n        {\n            \"excs\": null,\n            \"name\": \"\u003cinit\u003e\",\n            \"sig\": null,\n            \"type\": \"CreateMethod\",\n            \"desc\": \"()V\",\n            \"acc\": 1\n        },\n        {\n            \"type\": \"MethodCodeStart\"\n        },\n        {\n            \"type\": \"Aload\",\n            \"index\": 0\n        },\n        {\n            \"cname\": \"java/lang/Object\",\n            \"isIntf\": false,\n            \"mname\": \"\u003cinit\u003e\",\n            \"type\": \"InvokeMethod\",\n            \"desc\": \"()V\",\n            \"invType\": 183\n        },\n        {\n            \"type\": \"Return\"\n        },\n        {\n            \"nstack\": -1,\n            \"type\": \"MaxStackAndLocal\",\n            \"nlocal\": -1\n        },\n        {\n            \"type\": \"MethodCodeEnd\"\n        },\n        {\n            \"excs\": null,\n            \"name\": \"main\",\n            \"sig\": null,\n            \"type\": \"CreateMethod\",\n            \"desc\": \"([Ljava/lang/String;)V\",\n            \"acc\": 9\n        },\n        {\n            \"type\": \"MethodCodeStart\"\n        },\n        {\n            \"cname\": \"java/lang/System\",\n            \"ftype\": 178,\n            \"type\": \"Field\",\n            \"desc\": \"Ljava/io/PrintStream;\",\n            \"fname\": \"out\"\n        },\n        {\n            \"constType\": \"StringConst\",\n            \"type\": \"Ldc\",\n            \"val\": \"Hello world!\"\n        },\n        {\n            \"cname\": \"java/io/PrintStream\",\n            \"isIntf\": false,\n            \"mname\": \"println\",\n            \"type\": \"InvokeMethod\",\n            \"desc\": \"(Ljava/lang/Object;)V\",\n            \"invType\": 182\n        },\n        {\n            \"type\": \"Return\"\n        },\n        {\n            \"nstack\": -1,\n            \"type\": \"MaxStackAndLocal\",\n            \"nlocal\": -1\n        },\n        {\n            \"type\": \"MethodCodeEnd\"\n        },\n        {\n            \"type\": \"ClassCodeEnd\",\n            \"out\": \"Helloworld.class\"\n        }\n   ]\n}\n```\n\n```bash\n$ curl -H \"Content-Type: application/json\" -X POST -d @examples/Helloworld.json http://localhost:8080/assembler/assemble\n{\"message\":\"\",\"success\":true}\n\n$ java Helloworld\nHello world!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmhelloworld%2Fjvm-assembler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmhelloworld%2Fjvm-assembler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmhelloworld%2Fjvm-assembler/lists"}