{"id":25471297,"url":"https://github.com/dropdevrahul/hollow","last_synced_at":"2026-05-07T03:35:20.649Z","repository":{"id":149533284,"uuid":"596031324","full_name":"dropdevrahul/hollow","owner":"dropdevrahul","description":"A simple programming language","archived":false,"fork":false,"pushed_at":"2023-02-05T20:24:22.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-03T07:05:26.854Z","etag":null,"topics":["assembly","c","compiler-design","go","golang","language-design","parser","programming-language"],"latest_commit_sha":null,"homepage":"","language":"Go","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/dropdevrahul.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":"2023-02-01T10:17:18.000Z","updated_at":"2023-12-03T09:51:13.000Z","dependencies_parsed_at":"2024-06-21T16:32:28.679Z","dependency_job_id":"82928ff3-8ee3-4347-8b93-8ba14579ddef","html_url":"https://github.com/dropdevrahul/hollow","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dropdevrahul/hollow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dropdevrahul%2Fhollow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dropdevrahul%2Fhollow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dropdevrahul%2Fhollow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dropdevrahul%2Fhollow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dropdevrahul","download_url":"https://codeload.github.com/dropdevrahul/hollow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dropdevrahul%2Fhollow/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263279261,"owners_count":23441680,"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":["assembly","c","compiler-design","go","golang","language-design","parser","programming-language"],"created_at":"2025-02-18T09:38:07.203Z","updated_at":"2026-05-07T03:35:20.605Z","avatar_url":"https://github.com/dropdevrahul.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Hollow\nA simple programming language written in Golang\n\nStack based with simple instructions, result will always be on top of stack you can use dump(`.`) command to display the result to stdout\n\n```\n100 =\u003e pushes the given int to stack \n\n+ =\u003e add given number to whatever is at top of stack and push result to stack e.g 100 + 50 pushes 150 to stack(orignal 100 will be replaced)\n\n- =\u003e sub two numbers and push result to stack e.g 100 - 50 pushes result to stack\n\n. =\u003e prints the current top of stack to stdout\n== =\u003e compares a number with top of stack e.g  == 100 will return 0 if current number      is not equal to top of stack 1 otherwise\n\nPlease  note for all +, == , - operations only one operand is required i.e the right hand side of the operator but there should be a valid value on stack for this\n\n15\n\n+ 10 .\n\nwill result in 15 , however\n+ 10 . will result in undefined behaviour\n\n```\n\nFor an input file:\n\n```\n64 + 56 . \n65 + 100 .\n200 - 100 .\n65 == 100 .\n100 - 200 .\n100 - 200 == -100 .\n```\n\nOutput will be:\n```\n120\n165\n100\n0\n-100\n1\n```\n\n## Compiling and running\nThere is a sample `example/program.hollow` to check otherwise you can use ur own file with any name with syntax as shown in the file or above examples:\n```\ngo run main.go -o myprogram example/program.hollow\n\n./myprogram\n\n```\n\nFor help\n\n```\ngo run main.go -h\n```\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdropdevrahul%2Fhollow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdropdevrahul%2Fhollow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdropdevrahul%2Fhollow/lists"}