{"id":13779801,"url":"https://github.com/chrisosaurus/plot","last_synced_at":"2025-06-27T23:36:14.775Z","repository":{"id":10933645,"uuid":"13238496","full_name":"chrisosaurus/plot","owner":"chrisosaurus","description":"toy r7rs-small (WG1) scheme interpreter","archived":false,"fork":false,"pushed_at":"2018-06-12T00:43:19.000Z","size":3677,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T04:37:01.546Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/chrisosaurus.png","metadata":{"files":{"readme":"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}},"created_at":"2013-10-01T08:26:21.000Z","updated_at":"2025-02-02T13:03:02.000Z","dependencies_parsed_at":"2022-08-30T10:50:57.721Z","dependency_job_id":null,"html_url":"https://github.com/chrisosaurus/plot","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/chrisosaurus%2Fplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisosaurus%2Fplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisosaurus%2Fplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisosaurus%2Fplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisosaurus","download_url":"https://codeload.github.com/chrisosaurus/plot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246841527,"owners_count":20842607,"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":[],"created_at":"2024-08-03T18:01:09.374Z","updated_at":"2025-04-02T15:30:43.419Z","avatar_url":"https://github.com/chrisosaurus.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"plot\n====\nPlot is a toy scheme interpreter written in C.\n\nPlot is aiming for r7rs-small (WG1) compliance.\n\nPlot is only ever intended to be a toy language and a purely academic pursuit, I hope to eventually play around\nwith writing simple applications in plot.\n\nnaming\n-------\nplot - Noun; A plan made in secret by a group of people to do something illegal or harmful\n\ncurrent state\n-------------\nFor an up-to-date summary or plot's implementation status see `docs/r7rs-small-compliance.md`\n\nbrief summary of r7rs library implementation status (see `make compliance`):\n\n        ./build/compliance.pl\n        base: 102 / 237 (43%)\n        case-lambda: 0 / 1 (0%)\n        char: 17 / 22 (77%)\n        complex: 0 / 6 (0%)\n        cxr: 0 / 24 (0%)\n        eval: 0 / 2 (0%)\n        file: 2 / 10 (20%)\n        inexact: 0 / 12 (0%)\n        lazy: 4 / 5 (80%)\n        load: 0 / 1 (0%)\n        r5rs: 108 / 217 (49%)\n        read: 0 / 1 (0%)\n        repl: 0 / 1 (0%)\n        time: 0 / 3 (0%)\n        write: 1 / 4 (25%)\n\n        total: 234 / 546 (42%)\n\nNB: the above conformance report is measuring functions that are exposed to plot programs,\nmany of those functions may still be lacking complete implementation.\n\nexample: (see `make example`)\n\n    (define (println v)\n      (display v)\n      (newline))\n\n    (define adder\n      (lambda (b)\n        (lambda (c)\n          (+ b c))))\n\n    (define tmp (adder 10))\n    (println (tmp 15)) ;; =\u003e 25\n\n    (define b (* (- 12 3) 4 5 6))\n    (println b) ;; =\u003e 1080\n\n    (println (\u003c= 1 1 2 3 5 10)) ;; =\u003e #t\n\n    (println (/ 10 2 2)) ;; 10/2 = 5; 5/2 = 2; =\u003e 2\n\n    (println (procedure? display)) ;; =\u003e #t\n\n    (println (if #t \"hello there\" (illegal))) ;; =\u003e hello there\n\nplanned work\n------------\nPlot is aiming for (mostly) r7rs-small (WG1) compliance.\n\nThe current planned exception is to omit continuations.\n\nFor a more accurate picture please see `docs/r7rs-small-compliance.md`.\n\ndependencies\n------------\n* libc\n* lib check is used for unit testing, in debian derived systems this is simply 'check' (`sudo apt-get install check`)\n* perl is used as part of the build process to generate bindings between scheme functions and their c implementations\n\nrunning\n----------\nPlot is still in it's infancy so does not yet offer an automatic installation method.\n\nYou are able to compile and run plot manually though:\n\n    git clone git@github.com:mkfifo/plot.git\n    cd plot\n    make\n    ./plot t/examples/example.scm\n\nYou are also able to test the plot build via\n\n    make test\n\n\nlicense\n---------\nPlot is released under the terms of the MIT License\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisosaurus%2Fplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisosaurus%2Fplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisosaurus%2Fplot/lists"}