{"id":16360423,"url":"https://github.com/monkstone/cf3ruby","last_synced_at":"2025-03-21T00:31:43.179Z","repository":{"id":56843385,"uuid":"11710573","full_name":"monkstone/cf3ruby","owner":"monkstone","description":"A ruby context free art DSL for use with ruby-processing","archived":false,"fork":false,"pushed_at":"2021-09-11T13:55:34.000Z","size":202,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T01:40:07.169Z","etag":null,"topics":["art","contextfreeart","jruby","ruby-processing"],"latest_commit_sha":null,"homepage":"http://monkstone.github.io/cf3ruby/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monkstone.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-27T20:27:26.000Z","updated_at":"2021-09-11T13:55:37.000Z","dependencies_parsed_at":"2022-09-02T02:02:28.539Z","dependency_job_id":null,"html_url":"https://github.com/monkstone/cf3ruby","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkstone%2Fcf3ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkstone%2Fcf3ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkstone%2Fcf3ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkstone%2Fcf3ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monkstone","download_url":"https://codeload.github.com/monkstone/cf3ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244717391,"owners_count":20498283,"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":["art","contextfreeart","jruby","ruby-processing"],"created_at":"2024-10-11T02:11:25.190Z","updated_at":"2025-03-21T00:31:42.860Z","avatar_url":"https://github.com/monkstone.png","language":"Ruby","readme":"# cf3ruby\n\nNow updated to be compatible with ruby 2.5, JRubyArt 2.5+ (newer version of ruby-processing), and Processing 3+.*\n\n**context-free DSL for ruby-2.5 and CF3 syntax**\n\nVery much derived from [context-free.rb](https://github.com/jashkenas/context_free) by Jeremy Ashkenas this version is updated to be more in line with CF3 and ruby 2.5 syntax. NB this version will not work with original ruby-processing.\n\n## Installation\n\nTo use this library you need install jruby (preferably jruby-9.2+), you will also need [ruby-processing/JRubyArt](https://github.com/ruby-processing/JRubyArt) to be installed. There are three ways you can install this library:-\n\n***rake test and gem install***\n\nClone this repository,\n\n```bash\ncd cf3ruby\njruby -S rake test # builds and tests gem (mouse click on frame for test image to show)\njruby -S gem install cf3-1.2.0.gem # may need sudo access\n```\n\n***local bundle install***\n\nClone this repository,\n\n```bash\ncd cf3ruby\n# bundle install          # using regular installed bundler may need to set GEM_PATH\njruby -S bundle install # if you installed bundler with jruby\n```\n\n***gem install from rubygems***\n\n```bash\n# When rubygems is updatd for this release.\n\n# gem install cf3            # regular install may need to set GEM_PATH env variable\n# jruby -S gem install cf3   # jruby install\n```\nit couldn't be easier could it?\n\n## Usage\n\nExtract the included samples to your home directory (HOME/cf3work/samples)\n```bash\ncf3samples           # should work\njruby -S cf3samples  # else if installed with jruby this should also work\n```\n\nAs for running ruby-processing,\n```bash\nk9 --run city.rb # providing you installed both ruby-processing (JRubyArt) and cf3ruby using jruby\n\n```\nYou should read the [JRubyArt documentation](https://github.com/ruby-processing/JRubyArt/blob/master/README.md) on using rubygems.\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md)\n\n![Y](http://3.bp.blogspot.com/-KNBKD7lArMA/UNBayboXQFI/AAAAAAAAD7A/YAgZCewTOxQ/s400/y.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonkstone%2Fcf3ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonkstone%2Fcf3ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonkstone%2Fcf3ruby/lists"}