{"id":16984146,"url":"https://github.com/samtebbs33/ghica","last_synced_at":"2026-02-03T10:31:53.125Z","repository":{"id":70676531,"uuid":"47626947","full_name":"SamTebbs33/Ghica","owner":"SamTebbs33","description":"Esoteric programming language inspired by a certain Romanian lecturer","archived":false,"fork":false,"pushed_at":"2016-08-19T13:53:15.000Z","size":243,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T22:03:41.182Z","etag":null,"topics":["compiler","language","ocaml"],"latest_commit_sha":null,"homepage":"","language":"OCaml","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/SamTebbs33.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-08T14:24:32.000Z","updated_at":"2019-12-02T12:31:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"f838feec-dae9-4ccf-80cf-b1b7c2c3dbd2","html_url":"https://github.com/SamTebbs33/Ghica","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SamTebbs33/Ghica","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamTebbs33%2FGhica","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamTebbs33%2FGhica/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamTebbs33%2FGhica/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamTebbs33%2FGhica/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamTebbs33","download_url":"https://codeload.github.com/SamTebbs33/Ghica/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamTebbs33%2FGhica/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29041327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["compiler","language","ocaml"],"created_at":"2024-10-14T02:30:14.224Z","updated_at":"2026-02-03T10:31:53.119Z","avatar_url":"https://github.com/SamTebbs33.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ghica\nThe Ghica programming language.\n\n![](img.jpg)\n\n## Running Ghica\nIf you use Mac OS X, then you can use the `main.native` file to run the compiler (if you can even call it that). Run the file with the file path after a '\u003c' symbol.\n```\n./main.native \u003c file_path.ghica\n```\n\nIf you're runing on some other system, then you will need to compile the compiler.\n```\nocamlbuild main.native\n```\nThen follow the above instructions.\n\n## Declaring variables\nThe code snippet below declares the variable `a` and assigns it the value `1337`\n```\nwhat_we_have_to_be a 1337\n```\n\n## Printing\nAn expression/variable can be printed\n```\nput_at_ease a\n```\nwhere `a` is the expression to print.\n\n## Expressions\nA valid expression is an integer, or boolean value. The boolean value false is encoded as `java` (as java is the false programming language) and the boolean value of true is encoded as `ocaml` (as OCaml is the one true programming language).\n```\nput_at_ease java\n```\n\nArithmetic expressions are also accepted\n```\n1+1\n2*5\n4/2\n10-7\n```\nIf you attempt to use a variable that has not been declared, you will be shown a friendly and easy to understand error message.\n\n## Assignment\nVariables can be reassigned (I know this breaks immuability which is the one true way of programming, but sometimes you have to be mainstream and impure)\n```\na = 100\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamtebbs33%2Fghica","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamtebbs33%2Fghica","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamtebbs33%2Fghica/lists"}