{"id":19901215,"url":"https://github.com/rbaltrusch/objectbatch","last_synced_at":"2026-03-19T12:18:56.429Z","repository":{"id":134139854,"uuid":"338651239","full_name":"rbaltrusch/objectbatch","owner":"rbaltrusch","description":"An object-oriented extension of the Windows batchfile language","archived":false,"fork":false,"pushed_at":"2025-09-02T16:15:40.000Z","size":57,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-02T18:14:18.335Z","etag":null,"topics":["batch","batch-file","batchfile","object-batch","object-oriented-programming","oop-library"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","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/rbaltrusch.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-02-13T19:21:19.000Z","updated_at":"2025-09-02T16:15:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"fcbdbc4e-b525-4403-8586-3ee76cc869e4","html_url":"https://github.com/rbaltrusch/objectbatch","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rbaltrusch/objectbatch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbaltrusch%2Fobjectbatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbaltrusch%2Fobjectbatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbaltrusch%2Fobjectbatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbaltrusch%2Fobjectbatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rbaltrusch","download_url":"https://codeload.github.com/rbaltrusch/objectbatch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbaltrusch%2Fobjectbatch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30156285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T22:39:40.138Z","status":"ssl_error","status_checked_at":"2026-03-05T22:39:24.771Z","response_time":93,"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":["batch","batch-file","batchfile","object-batch","object-oriented-programming","oop-library"],"created_at":"2024-11-12T20:14:24.104Z","updated_at":"2026-03-06T00:31:42.326Z","avatar_url":"https://github.com/rbaltrusch.png","language":"Batchfile","readme":"[![Run Tests](https://github.com/rbaltrusch/objectbatch/actions/workflows/run_tests.yml/badge.svg)](https://github.com/rbaltrusch/objectbatch/actions/workflows/run_tests.yml)\n![version](https://img.shields.io/badge/version-1.0.0-blue)\n[![License: MIT](https://img.shields.io/badge/License-MIT-purple.svg)](https://opensource.org/licenses/MIT)\n\n# Object oriented batch\n\nObjectbatch is an object-oriented extension of the Windows batchfile language, including classes and instances, methods and attributes, inheritance, encapsulation, polymorphism and object composition.\n\nSimple use of a class instance:\n```batch\n::instantiate new object obj of type MyClass\ncall new MyClass obj construct\n\n::calling method myMethod of instance obj\ncall # obj myMethod\n\n::reading obj attribute myAttr\necho !%obj%.myAttr!\n\n::writing obj attribute myAttr\nset %obj%.myAttr=1\n```\n\nSimple class definition:\n```batch\n::boilerplate\ncall class %*\n%class%\n\n::this is the constructor, adding one custom attribute attr\n:public-construct\n    call super %*\n    set %self%.attr=0\nexit /b\n```\n\n## Getting started\n\nTo get a copy of this repository, simply open up git bash in an empty folder and use the command:\n\n    $ git clone https://github.com/rbaltrusch/objectbatch\n\nTo use objectbatch anywhere, add the objectbatch folder to your Windows PATH.\n\n## More information\n\nFor more information on the various object-oriented features available, please have a look at the [examples](https://github.com/rbaltrusch/objectbatch/tree/master/examples) and the [wiki](https://github.com/rbaltrusch/objectbatch/wiki).\n\nAn example object-oriented batchfile repository can be found [here](https://github.com/rbaltrusch/batch_transactions).\n\n## Limitations\n\n- Changed object state within a local scope (`setlocal`) can only persist by using `save.bat`.\n- Batchfile bug: it seems that instantiating many objects at once causes older objects to vanish. Circumvent this issue by serialising with `save.bat`.\n\n## Contributions\n\nAny contributions, such as additional features, bugfixes, or documentation are much appreciated. Contribution guidelines are specified in [CONTRIBUTING.md](https://github.com/rbaltrusch/objectbatch/blob/master/CONTRIBUTING.md).\n\n## License\n\nThis repository is open-source software available under the [MIT license](https://github.com/rbaltrusch/objectbatch/blob/master/LICENSE).\n\n## Contact\n\nPlease raise an issue for code changes. To reach out, please send an email to richard@baltrusch.net.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbaltrusch%2Fobjectbatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frbaltrusch%2Fobjectbatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbaltrusch%2Fobjectbatch/lists"}