{"id":15401449,"url":"https://github.com/snowy1803/graphism-swift","last_synced_at":"2025-03-28T00:48:51.432Z","repository":{"id":82538944,"uuid":"280914525","full_name":"Snowy1803/Graphism-Swift","owner":"Snowy1803","description":"Graphism app for viewing programs written in GRPH","archived":false,"fork":false,"pushed_at":"2021-12-18T15:33:40.000Z","size":1470,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-02T02:45:52.944Z","etag":null,"topics":["grph","programming-language","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Snowy1803.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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-07-19T17:20:13.000Z","updated_at":"2024-06-18T18:17:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"e91f62b2-2484-49db-a92d-04e40e3dccde","html_url":"https://github.com/Snowy1803/Graphism-Swift","commit_stats":{"total_commits":239,"total_committers":1,"mean_commits":239.0,"dds":0.0,"last_synced_commit":"eaf01f1eb1cd6bd811e7265a91c0d4c261c7c125"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snowy1803%2FGraphism-Swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snowy1803%2FGraphism-Swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snowy1803%2FGraphism-Swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snowy1803%2FGraphism-Swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Snowy1803","download_url":"https://codeload.github.com/Snowy1803/Graphism-Swift/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245949603,"owners_count":20698922,"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":["grph","programming-language","swift"],"created_at":"2024-10-01T15:58:23.213Z","updated_at":"2025-03-28T00:48:51.414Z","avatar_url":"https://github.com/Snowy1803.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  Graphism (Swift Edition)\n\n## GRPH Language\n\nThis Swift version of the GRPH runtime runs GRPH 1.11.\n\n**Code in GRPH with [BBTCEnvironment](http://elementalcube.infos.st/product/6)**\n\nBBTCEnvironment 2.12.3 supports running Graphism CLI. Running Graphism macOS or iOS requires copying/opening with the app directly.  \nBBTCEnvironment 2.12.3 doesn't support GRPH 1.11 features (GRPH 1.11 scripts will not be checked for errors)\n\nThis project currently lacks support for a lot of Java Edition features.\n\n## GRPH 1.11\n\nGRPH 1.11 introduces :\n- #setting (changing settings, WIP)\n- #typealias (renaming a type, `#typealias farray {float}` for example)\n- #compiler (settings, example `#compiler indent spaces`)\n- #switch-#case-#default\n- #foreach \u0026elem : arr —\u003e inout foreach for modifying values in the array\n- Constructors for non-shape simple types \u0026 arrays\n- Array.length\n- Support for variables with the same name in different scopes\n- #elif alias for #elseif\n- Value type assignment\n- #break ::LABEL \u0026 #break 3 (multiple scopes)\n- **Swift Edition doesn't support #goto, and labels must precede blocks**\n\nSmaller features/fixes :\n\n- For each debug shows associated variable \u0026 catch \u0026 array modification correcltly\n- Tweaks between functions and methods\n- stringToInteger/Float, getMousePos return optionals\n- stdio\u003egetLinesInstring string.random\u003eshuffled\n- random\u003erandomString has an extra optional parameter\n- reflect\u003egetVersion parameter is optional\n- \"As\" infers the type. Casting as mixed has no autounboxing\n- New autoboxing and unboxing that can be disabled\n- Default return type for function can use its parameters\n- Using the ordinal sign (º) instead of rotation sign (°) is now supported\n\n## Targets\n\nThey all can only execute and show results. They don't support writing code. For writing code, use [BBTCEnvironment](http://elementalcube.infos.st/product/6).\n\n- **Graphism CLI**: Runs code headlessly. Runs on older macOS versions. Probably also on Linux with some changes\n- **macOS**: runs on Big Sur, with a user interface\n- **iOS**: runs on iPadOS 14\n- **GraphismTests**: Unit testing\n\n## Example projects\n\nExample code can be found in [Snowy1803/Graphism-Projects](https://github.com/Snowy1803/Graphism-Projects)\nThese examples are designed for Graphism Java, and some of them will not run as-is in Graphism Swift.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowy1803%2Fgraphism-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnowy1803%2Fgraphism-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowy1803%2Fgraphism-swift/lists"}