{"id":18892386,"url":"https://github.com/hf/q","last_synced_at":"2025-04-14T23:31:29.876Z","repository":{"id":14579083,"uuid":"17295426","full_name":"hf/q","owner":"hf","description":"A simple programming language.","archived":false,"fork":false,"pushed_at":"2014-04-04T19:56:57.000Z","size":156,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-12T10:41:38.049Z","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/hf.png","metadata":{"files":{"readme":"README","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-02-28T18:24:34.000Z","updated_at":"2025-04-04T22:23:24.000Z","dependencies_parsed_at":"2022-09-12T11:01:36.980Z","dependency_job_id":null,"html_url":"https://github.com/hf/q","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hf%2Fq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hf%2Fq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hf%2Fq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hf%2Fq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hf","download_url":"https://codeload.github.com/hf/q/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248978715,"owners_count":21192834,"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-11-08T08:01:46.421Z","updated_at":"2025-04-14T23:31:29.625Z","avatar_url":"https://github.com/hf.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n  Q - a simple programming language\n\n      / Q Q Q Q\n        Q     Q\n        Q Q Q Q Q\n                Q\n                Q\n\n  Install the gem from RubyGems:\n\n    $ gem install ql\n\n  Then you can use the small `q' runner to run your .q files:\n\n    $ q examples/factorial.q\n\n  Example syntax:\n\n    # assignment\n\n    a \u003c: 10;\n    b \u003c: 11;\n\n    # operations\n\n    a \u003c: 3 + 5;\n    a \u003c: a = b;\n    a \u003c: a \u003c b;\n    a \u003c: b \u003e a;\n\n    # functions\n\n    # @ refers to the current function\n    # every function returns @ by default\n    # unless you assign @ another value\n\n    factorial \u003c: (n){\n      if [n \u003c 2] then [@ \u003c: 1] else [@ \u003c: n * @(n - 1)];\n    };\n\n    tenth_factorial \u003c: factorial(10);\n\n\n\n  This language is an experiment and parts of it were presented at\n  MKRUG (http://ruby.mk).\n\n  This software is licensed under the MIT/X11 license and is\n  Copyright (C) 2014 Stojan Dimitrovski. See LICENSE for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhf%2Fq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhf%2Fq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhf%2Fq/lists"}