{"id":13782357,"url":"https://github.com/duckinator/ooc-in-ruby","last_synced_at":"2026-04-12T22:03:49.767Z","repository":{"id":3675495,"uuid":"4744926","full_name":"duckinator/ooc-in-ruby","owner":"duckinator","description":"ooc interpreter in ruby. Purely for shits and giggles and possibly experimentation. Don't assume it's entirely compliant.","archived":false,"fork":false,"pushed_at":"2014-02-12T01:20:43.000Z","size":344,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T02:15:30.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","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/duckinator.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}},"created_at":"2012-06-21T21:59:48.000Z","updated_at":"2019-08-13T15:04:57.000Z","dependencies_parsed_at":"2022-08-18T23:51:54.796Z","dependency_job_id":null,"html_url":"https://github.com/duckinator/ooc-in-ruby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/duckinator/ooc-in-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckinator%2Fooc-in-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckinator%2Fooc-in-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckinator%2Fooc-in-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckinator%2Fooc-in-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duckinator","download_url":"https://codeload.github.com/duckinator/ooc-in-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckinator%2Fooc-in-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283095890,"owners_count":26778518,"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","status":"online","status_checked_at":"2025-11-06T02:00:06.180Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-08-03T18:01:35.702Z","updated_at":"2025-11-06T23:03:16.677Z","avatar_url":"https://github.com/duckinator.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# ooc-in-ruby: ooc interpreter written primarily in ruby\n\n...and a lot of automagically-generated C. The hell if I'm duplicating all of _that._\n\nThe idea is to write as much of it as possible in ruby.\n\nI gave up writing a custom parser for now, so it uses nagaqueen.\nHellooooo, 9,350 SLOC of generated C, tied together with 33 SLOC of hand-written C.\n\nGood news: this means I should be albe to get away with `./get-nagaqueen.sh \u0026\u0026 ./generate-boilerplate.rb` and coding some ruby any time nagaqueen changes.\n\n\n# Building it\n\nHere's all the files related to generating the shitton of C and compiling it all.\n\n* `./util/get-nagaqueen.sh`: tries to find NagaQueen.c, copies it to ./nagaqueen/nagaqueen.c.\n* `./util/generate-boilerplate.rb`: generates approximately 960 lines of ruby/C interop boilerplate in ./nagaqueen/boilerplate.h.\n* `./util/generate-nagaqueen-boilerplate.rb`: generates approximately 590 lines of ruby/C interop boilerplate in ./lib/nagaqueen-methods.rb.\n* `./build.rb`: builds this monstrous thing.\n* `./test.rb`: test this monstrous thing.\n\n\nIn most cases, all you should need is `./build.rb` and `./test.rb`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduckinator%2Fooc-in-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduckinator%2Fooc-in-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduckinator%2Fooc-in-ruby/lists"}