{"id":19154692,"url":"https://github.com/rgrannell1/visp","last_synced_at":"2026-01-11T02:25:47.590Z","repository":{"id":44220147,"uuid":"181252562","full_name":"rgrannell1/visp","owner":"rgrannell1","description":"Toy vau-calculus language with non-sexpr syntax","archived":false,"fork":false,"pushed_at":"2022-02-11T00:38:05.000Z","size":256,"stargazers_count":3,"open_issues_count":7,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T02:36:57.505Z","etag":null,"topics":["functional-programming","lambda-calculus","toy-language","vau-calculus"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/rgrannell1.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}},"created_at":"2019-04-14T02:48:40.000Z","updated_at":"2023-10-20T14:06:14.000Z","dependencies_parsed_at":"2022-08-29T07:41:37.610Z","dependency_job_id":null,"html_url":"https://github.com/rgrannell1/visp","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/rgrannell1%2Fvisp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgrannell1%2Fvisp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgrannell1%2Fvisp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgrannell1%2Fvisp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgrannell1","download_url":"https://codeload.github.com/rgrannell1/visp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246507397,"owners_count":20788817,"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":["functional-programming","lambda-calculus","toy-language","vau-calculus"],"created_at":"2024-11-09T08:27:56.984Z","updated_at":"2026-01-11T02:25:47.559Z","avatar_url":"https://github.com/rgrannell1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# visp\n\n[![Build Status](https://travis-ci.org/rgrannell1/visp.svg?branch=master)](https://travis-ci.org/rgrannell1/visp)\n\n\u003e Programming languages should be designed not by piling feature on top of feature, but by removing the weaknesses and restrictions that make additional features appear necessary\n\nVisp is a toy-language built for a few purposes:\n\n- I'd like to build a language from scratch\n- I want to experiment with non-sexpr languages with metaprogramming support\n- I want to implement `vau-calculus`\n- I want to implement a language with lenses as the sole path management method\n- If this works out, I'd like to switch to this language from Node.js\n\n\u003e Why on earth would you want a half-baked pseudoscheme with f-expressions, which are evil?\n\n:woman_shrugging:\n\nI'm unconvinced you need s-expression syntax to metaprogram, and I think macros are poor substitutions for f-expressions. I often want code to inspect other code when working with JS for documentation and versioning, which is easily done with vau-calculus. Being able to *really* define new syntax is a bonus too!\n\nSo far, I've implemented:\n\n- a parser\n- an evaluator\n- a standard library (WiP)\n- ~~node library wrappers~~\n\nIt looks like this.\n\n```js\n\nsym \u003c- symbol(\"some js symbol\")\nval \u003c- hash*(\n  (\"a\" 1)\n  (\"b\" 2)\n  (sym hash*(\n    (\"c\" 3)\n    (\"d\" 4))))\n\naccessor \u003c- at-key(sym)\n\ntest \u003c- $fn((x y)\n  show(\"hello!\")\n  $define!(z, 3)\n  sum*(x y z))\n\nshow(test(1 2))\n\nshow(lens-get(accessor val))\n```\n\n## Standard Library\n\n```\nsum\nsum*\nproduct\nproduct*\nplus\nminus\ntimes\nover\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgrannell1%2Fvisp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgrannell1%2Fvisp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgrannell1%2Fvisp/lists"}