{"id":16573542,"url":"https://github.com/v2e4lisp/rp","last_synced_at":"2025-07-22T22:33:53.432Z","repository":{"id":9731297,"uuid":"11690323","full_name":"v2e4lisp/rp","owner":"v2e4lisp","description":"a tiny language compiles to html....","archived":false,"fork":false,"pushed_at":"2013-08-13T05:03:08.000Z","size":204,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-06T13:05:46.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/v2e4lisp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-26T16:53:19.000Z","updated_at":"2014-02-13T19:59:56.000Z","dependencies_parsed_at":"2022-09-24T05:51:02.544Z","dependency_job_id":null,"html_url":"https://github.com/v2e4lisp/rp","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/v2e4lisp/rp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Frp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Frp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Frp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Frp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/v2e4lisp","download_url":"https://codeload.github.com/v2e4lisp/rp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Frp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266586171,"owners_count":23952170,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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-10-11T21:42:28.387Z","updated_at":"2025-07-22T22:33:53.394Z","avatar_url":"https://github.com/v2e4lisp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rp\n\nTODO: Write a gem description\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'rp'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install rp\n\n## Usage\n\n```haml\nhtml!\n  head\n    script type: \"text/javascript\", src: \"http://slkdfksja.js\"\n  body\n    div#content data_para: \"hello world\"\n      p.first \"first p\"\n      p.second-p#special-p\n        \"special p\"\n      - a = \"username\"\n      p\n        - b = \"\u003cb\u003e---------------x--------------\u003c/b\u003e\"\n        = b\n        - a.split(\"\").each do |x|\n        font x\n        - end\n      p\n        \"helloworld\"\n      div.comments.hahaha\n        p.a-comment#no-comment \"no comments yet!\"\n```\n\n**FIRST, converted to ruby code**\n\n```ruby\nhtml! do\n  head do\n    script type: \"text/javascript\", src: \"http://slkdfksja.js\"\n  end\n  body do\n    @id = 'content'\n    div data_para: \"hello world\" do\n      @cls = 'first'\n      p \"first p\"\n      @cls = 'second-p'\n      @id = 'special-p'\n      p do\n        \"special p\"\n      end\n      a = \"username\"\n      p do\n        b = \"\u003cb\u003e---------------x--------------\u003c/b\u003e\"\n        self.== b\n        a.split(\"\").each do |x|\n        font x\n        end\n      end\n      p do\n        \"helloworld\"\n      end\n      @cls = 'comments hahaha'\n      div do\n        @cls = 'a-comment'\n        @id = 'no-comment'\n        p \"no comments yet!\"\n      end\n    end\n  end\nend\n\n```\n\n**OUTPUT html**\n\n```html\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003cscript type='text/javascript' src='http://slkdfksja.js'\u003e\n    \u003c/script\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cdiv data-para='hello world' id='content'\u003e\n      \u003cp class='first'\u003e\n        first p\n      \u003c/p\u003e\n      \u003cp class='second-p' id='special-p'\u003e\n        special p\n      \u003c/p\u003e\n      \u003cp\u003e\n\u003cb\u003e---------------x--------------\u003c/b\u003e\n        \u003cfont\u003e\n          u\n        \u003c/font\u003e\n        \u003cfont\u003e\n          s\n        \u003c/font\u003e\n        \u003cfont\u003e\n          e\n        \u003c/font\u003e\n        \u003cfont\u003e\n          r\n        \u003c/font\u003e\n        \u003cfont\u003e\n          n\n        \u003c/font\u003e\n        \u003cfont\u003e\n          a\n        \u003c/font\u003e\n        \u003cfont\u003e\n          m\n        \u003c/font\u003e\n        \u003cfont\u003e\n          e\n        \u003c/font\u003e\n      \u003c/p\u003e\n      \u003cp\u003e\n        helloworld\n      \u003c/p\u003e\n      \u003cdiv class='comments hahaha'\u003e\n        \u003cp class='a-comment' id='no-comment'\u003e\n          no comments yet!\n        \u003c/p\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv2e4lisp%2Frp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv2e4lisp%2Frp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv2e4lisp%2Frp/lists"}