{"id":18801266,"url":"https://github.com/velocitatem/grap","last_synced_at":"2025-06-24T09:37:41.957Z","repository":{"id":208453969,"uuid":"721360094","full_name":"velocitatem/GRAP","owner":"velocitatem","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-17T14:00:53.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-10T11:05:54.301Z","etag":null,"topics":["c","graph","interpreter","programming-language"],"latest_commit_sha":null,"homepage":"https://g-rap.netlify.app/graph","language":"C","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/velocitatem.png","metadata":{"files":{"readme":"DOCS/README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-20T22:37:51.000Z","updated_at":"2023-12-16T23:45:57.000Z","dependencies_parsed_at":"2024-11-07T22:26:23.611Z","dependency_job_id":"ee2703a4-32e4-49e1-8268-dbf0e2e56b08","html_url":"https://github.com/velocitatem/GRAP","commit_stats":null,"previous_names":["velocitatem/programming-language-in-c"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/velocitatem/GRAP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velocitatem%2FGRAP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velocitatem%2FGRAP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velocitatem%2FGRAP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velocitatem%2FGRAP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/velocitatem","download_url":"https://codeload.github.com/velocitatem/GRAP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velocitatem%2FGRAP/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260124097,"owners_count":22962207,"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":["c","graph","interpreter","programming-language"],"created_at":"2024-11-07T22:23:06.794Z","updated_at":"2025-06-16T08:10:38.011Z","avatar_url":"https://github.com/velocitatem.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grap Language\n\nGrap is a simple, custom programming language designed for creating and manipulating graphs. This document provides a brief overview of how to use the Grap language.\n\n## Installation\n\n_we suggest using the bin version of grap, but if you want to build it yourself, follow the instructions below_\n\nTo install the Grap interpreter, clone the repository and build the project using CMake:\n\n```bash\ngit clone https://github.com/username/grap.git\ncd grap\nmkdir build\ncd build\ncmake ..\nmake\n```\n\nThis will generate an executable in the `build` directory.\n\n### Binaries (Recommended)\n\nRequires GLIBC_2.34 or higher.\n\n1. Download the latest release from [here](https://github.com/velocitatem/GRAP/releases)\n2. Extract the zip file\n3. Run the executable\n4. Enjoy!\n5. (Optional) Add the executable to your PATH\n\n## Usage\n\nTo run a Grap program, pass the `.grap` file as an argument to the Grap interpreter:\n\n```bash\n./grap_interpreter path_to_your_program.grap\n```\n\n## Language Syntax\n\nGrap programs consist of commands separated by the `|` character. Each command has a module, an action, and zero or more parameters. Here's a basic example of a Grap program:\n\n```grap\nmem | save | (int | \"num1\" | \"2\")\nmem | save | (int | \"num2\" | \"3\")\nio | say | ( mem | get | \"num1\")\nio | say | ( mem | get | \"num2\")\n```\n\nIn this program, the `mem | save` command saves a value into memory, and the `io | say` command prints a value from memory.\n\n## Modules\n\nGrap has several built-in modules:\n\n- [`io`](./io.md): Used for input and output operations.\n- [`mem`](./mem.md): Used for saving and retrieving values in memory.\n- [`math`](./math.md): Used for mathematical operations.\n- [`bits`](./bits.md): Used for bitwise operations.\n- [`module`](./module.md): Used for creating and using modules.\n- [`str`](./str.md): Used for string operations.\n\nEach module has its own set of actions and parameters.\n\n## Contributing\n\nContributions to the Grap language are welcome. Please submit a pull request with your changes.\n\n## License\n\nThe Grap language is licensed under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelocitatem%2Fgrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvelocitatem%2Fgrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelocitatem%2Fgrap/lists"}