{"id":23333892,"url":"https://github.com/schultyy/orcrist","last_synced_at":"2025-04-07T12:13:39.596Z","repository":{"id":18547841,"uuid":"21749109","full_name":"schultyy/orcrist","owner":"schultyy","description":null,"archived":false,"fork":false,"pushed_at":"2014-08-16T10:53:52.000Z","size":494,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T23:35:29.846Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/schultyy.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}},"created_at":"2014-07-11T19:46:27.000Z","updated_at":"2014-08-13T09:44:58.000Z","dependencies_parsed_at":"2022-07-26T22:47:02.317Z","dependency_job_id":null,"html_url":"https://github.com/schultyy/orcrist","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schultyy%2Forcrist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schultyy%2Forcrist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schultyy%2Forcrist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schultyy%2Forcrist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schultyy","download_url":"https://codeload.github.com/schultyy/orcrist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648976,"owners_count":20972945,"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":[],"created_at":"2024-12-21T00:32:50.056Z","updated_at":"2025-04-07T12:13:39.563Z","avatar_url":"https://github.com/schultyy.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"orcrist\n======\n\n[![Build\nStatus](https://travis-ci.org/schultyy/orcrist.svg?branch=master)](https://travis-ci.org/schultyy/orcrist)\n\n# Usage\n\n```bash\n$ orcrist exec \u003cfilename.oc\u003e\n```\n\n## Methods\n\n### Definition\n\n```\ndef foo(a,b):\n  a + b\n```\nA method is defined with the `def` keyword, followed by an identifier and params. The colon indicates, that following lines are indented.\n\n\n### Method call\n\n`foo(a,b)` with params\n\n`foo` without params. Parentheses are optional here.\n\nAssign a method to a variable and call it:\n\n```\ndef add(a,b):\n  a + b\n\nmy_add = add\nmy_add(1,2) #=\u003e 3\n```\n\n### Assign to a variable\n\n```\ndef foo(a,b):\n  a + b\n\nadd = foo\nadd(1,2)\n```\n\n# Basic type checking\n\nWhen you do addition or subtraction, types are checked:\n\n`3 - 4 # =\u003e ok`\n\n`3 + 5 # =\u003e ok`\n\n`3 + true # =\u003e Error`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschultyy%2Forcrist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschultyy%2Forcrist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschultyy%2Forcrist/lists"}