{"id":18264678,"url":"https://github.com/hobby-engine/hobby-script","last_synced_at":"2025-06-10T11:33:33.662Z","repository":{"id":256853675,"uuid":"856628421","full_name":"hobby-engine/hobby-script","owner":"hobby-engine","description":"The scripting language for the (future) Hobby game engine","archived":false,"fork":false,"pushed_at":"2024-12-03T22:00:06.000Z","size":1439,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T21:39:45.427Z","etag":null,"topics":["hobby-script","hobbyscript","interpreter","language","programming-language","scripting-language"],"latest_commit_sha":null,"homepage":"","language":"C","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/hobby-engine.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":"2024-09-12T23:06:49.000Z","updated_at":"2025-01-03T23:21:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"66df2a45-f6a8-47c2-9b95-0223997fb2ed","html_url":"https://github.com/hobby-engine/hobby-script","commit_stats":null,"previous_names":["hobby-engine/hobby-script"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hobby-engine%2Fhobby-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hobby-engine%2Fhobby-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hobby-engine%2Fhobby-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hobby-engine%2Fhobby-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hobby-engine","download_url":"https://codeload.github.com/hobby-engine/hobby-script/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hobby-engine%2Fhobby-script/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259066870,"owners_count":22800220,"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":["hobby-script","hobbyscript","interpreter","language","programming-language","scripting-language"],"created_at":"2024-11-05T11:15:34.169Z","updated_at":"2025-06-10T11:33:33.542Z","avatar_url":"https://github.com/hobby-engine.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hobby Script\nA dynamically typed programming language designed for use in game development.\nHobby Script is designed for use in the future Hobby Game Engine, although it\nis standalone as well. \n\n### Features\n- Lack of OOP\n- Speed \n  - faster than Wren and Python, slower than Lua (on my machine)\n- Dynamic typing\n\n## Building\nIt should be as easy as cloning the repo and going:\n```shell\nmkdir bin\nmake\n```\nRequires MinGW on Windows.\n## Snippets\nHello world:\n```zig\nio:print(\"Hello, world!\");\n```\n\nHere's timer, so you can get a better feel for the language:\n```zig\n// Timer.hby\nstruct Timer;\n\nvar total_time = 0;\nvar time_left = 0;\n\nstatic fn new(total_time) -\u003e Timer{total_time=time};\n\nfn is_over() -\u003e self.time_left \u003c= 0;\nfn step(dt) {\n  self.time_left -= dt;\n}\n```\nThen, you can use it in some other file like this:\n```zig\n// main.hby\nvar Timer = import(\"Timer.hby\");\n\nvar timer = Timer:new(5);\ntimer.step(1);\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhobby-engine%2Fhobby-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhobby-engine%2Fhobby-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhobby-engine%2Fhobby-script/lists"}