{"id":25626911,"url":"https://github.com/joaaoverona/venusscript","last_synced_at":"2025-04-14T13:41:31.701Z","repository":{"id":91721180,"uuid":"58337070","full_name":"JoaaoVerona/venusscript","owner":"JoaaoVerona","description":"A dynamic, interpreted, scripting language written in Java.","archived":false,"fork":false,"pushed_at":"2024-08-19T02:40:00.000Z","size":1101,"stargazers_count":18,"open_issues_count":9,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T02:46:15.502Z","etag":null,"topics":["ast","async","asynchronous","compiler","cryptography","dynamic","extensible","java","java-8","java-library","java8","language","runtime-injections","script","scripting","scripting-engine","scripting-language","scripting-languages"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JoaaoVerona.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-05-09T00:06:01.000Z","updated_at":"2025-02-20T05:28:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"fda15ef4-8208-4a1d-8d4b-037f5c4d4241","html_url":"https://github.com/JoaaoVerona/venusscript","commit_stats":null,"previous_names":["bloodshura/venusscript"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoaaoVerona%2Fvenusscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoaaoVerona%2Fvenusscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoaaoVerona%2Fvenusscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoaaoVerona%2Fvenusscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoaaoVerona","download_url":"https://codeload.github.com/JoaaoVerona/venusscript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248889950,"owners_count":21178328,"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":["ast","async","asynchronous","compiler","cryptography","dynamic","extensible","java","java-8","java-library","java8","language","runtime-injections","script","scripting","scripting-engine","scripting-language","scripting-languages"],"created_at":"2025-02-22T17:31:57.833Z","updated_at":"2025-04-14T13:41:31.665Z","avatar_url":"https://github.com/JoaaoVerona.png","language":"Java","readme":"### This was a project made by the author while in university, in 2016, and is no longer maintained. Still, feel free to explore and fork it. :)\n\n---\n\n# venusscript\nWelcome to the official GitHub repository of the dynamic, injectable, scripting language **VenusScript**.\nSee the [examples directory](https://github.com/BloodShura/VenusScript/tree/master/examples) to get a closer look in how the language works.\n\n```\nusing std\n\nver = \"2.0.0\"\nprintln(\"Hi from VenusScript! Version = \" + ver)\n\ndef sum(int a, int b) {\n    return a + b\n}\n\nnewestSum = 0\n\nasync {\n    for i in (1, 10) {\n        newestSum = sum(i, i)\n        println(newestSum)\n    }\n}\n\nwait(newestSum == 20)\nprintln(\"Ok!\")\n```\n\n## Version Planning\n| Version | State       | Description             |\n| ------- | ----------- | ----------------------- |\n| 0.x     | *done*      | \u003cul\u003e\u003cli\u003eDefinitions\u003c/li\u003e\u003cli\u003eFunctions\u003c/li\u003e\u003cli\u003eFunction references\u003c/li\u003e\u003cli\u003eStandard library\u003c/li\u003e\u003cli\u003eLoop containers\u003c/li\u003e\u003cli\u003eBranching components\u003c/li\u003e\u003cli\u003eVariable references\u003c/li\u003e\u003cli\u003eInitial dynamic injection\u003c/li\u003e\u003cli\u003eRuntime interpretation\u003c/li\u003e\u003cli\u003eAsynchronous features\u003c/li\u003e\u003cli\u003eSynchronous features\u003c/li\u003e\u003cli\u003eHomogeneous arrays\u003c/li\u003e |\n| **1.x** | **current** | \u003cul\u003e\u003cli\u003eObject-oriented features (classes, attributes, methods, maybe polymorphism, etc)\u003c/li\u003e\u003cli\u003eJava interoperability\u003c/li\u003e\u003cli\u003eLists\u003c/li\u003e\u003cli\u003eDictionaries/Maps\u003c/li\u003e\u003cli\u003eHeterogeneous arrays\u003c/li\u003e |\n| 2.x     | planned     | \u003cul\u003e\u003cli\u003eFunctional features\u003c/li\u003e\u003cli\u003eEnumerations\u003c/li\u003e\u003cli\u003eDebugging utilities and breakpoints\u003c/li\u003e |\n| ?     | planned     | \u003cul\u003e\u003cli\u003eImproved performance\u003c/li\u003e\u003cli\u003eOwn bytecode compiler and interpreter |\n\n## How to use\n\n##### With Gradle:\n\n```\ndependencies {\n\tcompile 'com.github.bloodshura:venusscript:2.0.0'\n}\n```\n\n##### With Maven:\n\n```\n\u003cdependency\u003e\n\t\u003cgroupId\u003ecom.github.bloodshura\u003c/groupId\u003e\n\t\u003cartifactId\u003evenusscript\u003c/artifactId\u003e\n\t\u003cversion\u003e2.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n##### With other build systems:\n\nIf your build system supports fetching dependencies from the Maven central repository, then just include a dependency with group `com.github.bloodshura`, artifact `venusscript` and version `2.0.0`.\n\n## Tech\nVenusScript is meant to be used within any Java or JVM-built (Kotlin, Scala, Groovy, etc) application. It is required Java 8+.\n\n## Definition\n- Highly extensible\n- Dynamic typing\n- Context/scope manipulation\n- No 'null' type/value\n- Simple syntax\n- Runtime injections (of libraries, function overriding, function definition, etc)\n- Multithreaded\n- Extremely easy syntax\n\n## Already implemented\n- Asynchronous features: `async` scopes\n- Synchronous features: monitor locks (`produce`, `consume`), value waiting (e.g. ```wait(i == 5)```)\n- Value types\n- Function references\n- Variable references\n- Top-level functions\n- Higher-order functions\n- Dynamic `include` statements\n- Dynamic `using` statements\n- Exporting variables to global context (so multiple scripts within the same application can access them)\n- While, do-while containers\n- Break, continue statements\n- Ranged foreach container (e.g. ```for i in (0, n)```)\n- Strongly typed function definitions (e.g. ```def print(string name) {...```)\n- Basic standard libraries (random, input, output, cryptography, dialogs, math, runtime injection)\n- Interpret source code at runtime (e.g. ```interpret(\"println(3 + 5 + 2 - 1)\")```)\n- Binary, decimal and hexadecimal literals\n- Execute other scripts, asynchronously or synchronously (e.g. ```async run(\"../basic.vs\")```)\n- Homogeneous arrays\n\n## To be implemented\n- Object-oriented programming (classes, attributes, methods, maybe polymorphism, etc)\n- Functional programming (lambdas, data immutability, etc)\n- Collections (heterogeneous arrays, lists, maps, sets)\n- Easier interoperability with Java\n- User-defined value types\n- Debugging features (including, but not limited to, *breakpoints*)\n- Expand standard libraries\n- Enumerations\n- Simple exception handling?\n- [... and many more...](https://github.com/BloodShura/VenusScript/issues?q=is%3Aissue+is%3Aopen+-label%3Abug)\n\n## Documentation\n\n*Work in progress.*\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaaoverona%2Fvenusscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoaaoverona%2Fvenusscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaaoverona%2Fvenusscript/lists"}