{"id":16012669,"url":"https://github.com/siraben/vpl","last_synced_at":"2025-04-09T22:02:52.063Z","repository":{"id":111748868,"uuid":"219207954","full_name":"siraben/vpl","owner":"siraben","description":"VPL (Visual Programming Language) is an educational Turtle language using Haskell and Gloss","archived":false,"fork":false,"pushed_at":"2023-01-15T01:04:40.000Z","size":698,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-09T22:02:45.424Z","etag":null,"topics":["educational","gloss","haskell","interpreter","monad-transformers"],"latest_commit_sha":null,"homepage":"","language":"Haskell","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/siraben.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-11-02T20:10:12.000Z","updated_at":"2024-03-06T13:18:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"8fe386e4-2626-4ef6-b2ee-1d7324e58cc0","html_url":"https://github.com/siraben/vpl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siraben%2Fvpl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siraben%2Fvpl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siraben%2Fvpl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siraben%2Fvpl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siraben","download_url":"https://codeload.github.com/siraben/vpl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119296,"owners_count":21050755,"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":["educational","gloss","haskell","interpreter","monad-transformers"],"created_at":"2024-10-08T14:20:26.460Z","updated_at":"2025-04-09T22:02:52.039Z","avatar_url":"https://github.com/siraben.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VPL (Visual Programming Language)\n![Vandyhacks logo](vandyhacks.png)\n\nVPL is a language initially developed at VandyHacks 2019, aiming to be\na _LOGO_-like language for the 21st century.\n\n## Features\n- Haskell-like syntax, using Unicode characters `○●↻↺↑` for base\n  commands\n- Lexical scoping\n- Control constructs\n  - Bounded loops with `loop`\n  - `if` statements\n- Procedures can be defined that take several numerical argument, and\n  must be called with the correct number of arguments\n- A `main` procedure must be defined to run a VPL program\n\n## Sample\n```haskell\n-- Go forward: ↑\n-- Clockwise, anti-clockwise rotation: ↻ ↺\n-- Pen up, pen down: ○ ●\n\nright = [ ↻ 90 ]\nleft  = [ ↺ 90 ]\n-- Draw a square\n□ n = [ loop 4 [↑ n, right]]\n-- Draw a triangle\n△ n = [ ↻ 30, ↑ n, ↻ 120, ↑ n, ↻ 120, ↑ n, right ]\nmain = [ ●, △ 60, □ 60, right, □ 70, right, □ 80, ↑ 150,\n         loop 100 [↑ 50, ↻ 59]]\n```\n\nThe above code generates the following image:\n\n![Sample image](sample.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiraben%2Fvpl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiraben%2Fvpl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiraben%2Fvpl/lists"}