{"id":22680343,"url":"https://github.com/vivekg13186/stack-language","last_synced_at":"2025-08-01T15:12:52.146Z","repository":{"id":92976348,"uuid":"263698162","full_name":"vivekg13186/Stack-Language","owner":"vivekg13186","description":"A simple stack based programming langauage","archived":false,"fork":false,"pushed_at":"2020-05-13T17:44:53.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T13:51:46.243Z","etag":null,"topics":["programming-language","stack-based"],"latest_commit_sha":null,"homepage":null,"language":"C++","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/vivekg13186.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":"2020-05-13T17:26:38.000Z","updated_at":"2023-08-06T23:05:47.000Z","dependencies_parsed_at":"2023-08-24T01:32:27.297Z","dependency_job_id":null,"html_url":"https://github.com/vivekg13186/Stack-Language","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vivekg13186/Stack-Language","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivekg13186%2FStack-Language","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivekg13186%2FStack-Language/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivekg13186%2FStack-Language/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivekg13186%2FStack-Language/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vivekg13186","download_url":"https://codeload.github.com/vivekg13186/Stack-Language/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivekg13186%2FStack-Language/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268248824,"owners_count":24219558,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["programming-language","stack-based"],"created_at":"2024-12-09T19:13:23.870Z","updated_at":"2025-08-01T15:12:52.102Z","avatar_url":"https://github.com/vivekg13186.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to Stack Programming Language\n\nBasic programming with few commands.\n\n\n# Commands\n\n| Command     | Description | Example|\n| ----------- | ----------- |----------- |\n| push \u003cnumber\u003e      | push a number on to stack       | push 23|\n| pop   | pop a number from stack        | pop|\n| +   | add last two numbers in  stack        | +|\n| -   | subract last two numbers in  stack        | -|\n| *   | multiply last two numbers in  stack        | * |\n| /   | divide last two numbers in  stack        | /|\n| %   | modulo last two numbers in  stack        | %|\n| \u003e   | compare last two numbers in  stack        | \u003e|\n| \u003c   | compare last two numbers in  stack       | \u003c|\n| \u003e=   | compare last two numbers in  stack        | \u003c= |\n| \u003c=   | compare last two numbers in  stack        | \u003e=|\n| !=   | compare last two numbers in  stack        | !=|\n| ==   | compare last two numbers in  stack        | ==|\n| jmp \u003cnumber\u003e   | jump code to given line number        | jmp 23|\n| jmpt \u003cnumber\u003e   | jump code to given line number if last stack value is zero       | jmpt 23|\n| jmpf \u003cnumber\u003e   | jmp code to given line number if last stack value is not zero        |  jmpf 23 |\n| print   | prints last stack value       | print|\n| get   | wait for user to enter value and push to stack       | get|\n| dup   | duplicate last value in stack        | dup|\n| exit   | exit the program        | exit|\n\n\n## How to build\n\n- Build with single file \"stack.cpp\".\n- Supports all platform.\n- No external dependency.\n- Check compile.sh file for reference.\n\n\n## How to run\n\nstack \u003cinput file name\u003e \u003c-p\u003e \u003c-d\u003e\n- option -p print the complied code\n- option -d for debugging, execute each step on keypress.\n\n## Examples\nSample file in test folder\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvivekg13186%2Fstack-language","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvivekg13186%2Fstack-language","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvivekg13186%2Fstack-language/lists"}