{"id":23161645,"url":"https://github.com/danielaf07/hands-programming-challenge","last_synced_at":"2025-08-25T05:11:37.246Z","repository":{"id":177651415,"uuid":"486803872","full_name":"DanielAF07/hands-programming-challenge","owner":"DanielAF07","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-29T01:49:47.000Z","size":89,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T04:31:47.475Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/DanielAF07.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":"2022-04-29T01:49:07.000Z","updated_at":"2022-04-29T01:49:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"a5b33823-8b4d-4174-8be5-8989420b4ecb","html_url":"https://github.com/DanielAF07/hands-programming-challenge","commit_stats":null,"previous_names":["danielaf07/hands-programming-challenge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielAF07%2Fhands-programming-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielAF07%2Fhands-programming-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielAF07%2Fhands-programming-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielAF07%2Fhands-programming-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielAF07","download_url":"https://codeload.github.com/DanielAF07/hands-programming-challenge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247238570,"owners_count":20906464,"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-17T23:14:45.826Z","updated_at":"2025-04-04T19:35:27.250Z","avatar_url":"https://github.com/DanielAF07.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nYou find a strange mirror that always shows a hand that is moving. \nThe hand appears to be alive, and after a lot of questions of \"yes\" and \"no\" answer, you know that the hand is trying to teach you a program that is written in HPL (Hand Programming Language).\n\nThis language works with a memory of an indefinite size of bytes, with all values initialized to 0.\nThis language haves 7 instructions:\n\n👉 : moves the memory pointer to the next cell\n\n👈 : moves the memory pointer to the previous cell\n\n👆 : increment the memory cell at the current position \n\n👇 : decreases the memory cell at the current position. \n\n🤜 : if the memory cell at the current position is 0, jump just after the corresponding 🤛\n\n🤛 : if the memory cell at the current position is not 0, jump just after the corresponding 🤜\n\n👊 : Display the current character represented by the ASCII code defined by the current position.\n\n## Notes:\n- As memory cells are bytes, from 0 to 255 value, if you decrease 0 you'll get  255, if you increment 255 you'll get 0.\n- Loops of 🤜 and 🤛 can be nested. \n\n# Tests\nThe hand shows you two small programs and their outputs:\n\n## This program display \"Hello\"\n👇🤜👇👇👇👇👇👇👇👉👆👈🤛👉👇👊👇🤜👇👉👆👆👆👆👆👈🤛👉👆👆👊👆👆👆👆👆👆👆👊👊👆👆👆👊\n\n## This program (with nested loops) display \"Hello World!\"\n👉👆👆👆👆👆👆👆👆🤜👇👈👆👆👆👆👆👆👆👆👆👉🤛👈👊👉👉👆👉👇🤜👆🤛👆👆👉👆👆👉👆👆👆🤜👉🤜👇👉👆👆👆👈👈👆👆👆👉🤛👈👈🤛👉👇👇👇👇👇👊👉👇👉👆👆👆👊👊👆👆👆👊👉👇👊👈👈👆🤜👉🤜👆👉👆🤛👉👉🤛👈👇👇👇👇👇👇👇👇👇👇👇👇👇👇👊👉👉👊👆👆👆👊👇👇👇👇👇👇👊👇👇👇👇👇👇👇👇👊👉👆👊👉👆👊\n\n# Challenge\nThe file \"input.hand\" is the code of the program\n\n\nGood luck!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielaf07%2Fhands-programming-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielaf07%2Fhands-programming-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielaf07%2Fhands-programming-challenge/lists"}