{"id":15750337,"url":"https://github.com/nwtgck/mini-scheme-haskell","last_synced_at":"2025-03-31T07:15:56.361Z","repository":{"id":87735790,"uuid":"100641349","full_name":"nwtgck/mini-scheme-haskell","owner":"nwtgck","description":"Mini Scheme Interpreter in Haskell","archived":false,"fork":false,"pushed_at":"2017-08-17T20:14:45.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T11:55:26.921Z","etag":null,"topics":["programming-language"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nwtgck.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-17T20:11:25.000Z","updated_at":"2018-09-12T01:46:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf392e55-6f6d-49b8-a725-06ccfbb72333","html_url":"https://github.com/nwtgck/mini-scheme-haskell","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/nwtgck%2Fmini-scheme-haskell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fmini-scheme-haskell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fmini-scheme-haskell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fmini-scheme-haskell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwtgck","download_url":"https://codeload.github.com/nwtgck/mini-scheme-haskell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246429493,"owners_count":20775808,"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":["programming-language"],"created_at":"2024-10-04T06:40:21.732Z","updated_at":"2025-03-31T07:15:56.341Z","avatar_url":"https://github.com/nwtgck.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mini Scheme Interpreter in Haskell\n==\n\n# What is this\n\nMini Scheme Interpreter written in Haskell\n\n# How to use\n\n## Execute\n\n```sh\n$ stack build\n$ stack exec mini-scheme-exe test.scm\n```\nThe output will be the following\n\n\n```\nhello, world\n10\n30\n1\n110\n10\n1\n15\n1\n7\n10946\n17711\n28657\n46368\n75025\n(1 2 . 3)\n#t\n```\n\n### test.scm\n\n```scm\n10\n(display \"hello, world\\n\")\n(define x 10)\n(define y 20)\n(display x)\n(display \"\\n\")\n(display (+ x y))\n(define x 1)\n(display \"\\n\")\n(display x)\n(display \"\\n\")\n\n(define id (lambda (x) (* x 2)))\n\n(display (id 55))\n(display \"\\n\")\n\n; print: display with a new line\n(define print (lambda (x) (display x) (display \"\\n\")))\n\n(print 10)\n(print x)\n(print (+ 1 2 3 4 5))\n(print (car '(1 2 3)))\n\n(define add (lambda (x y) (+ x y)))\n(print (add 3 4))\n(define fib (lambda (n)\n  (if (equal? n 0)\n    1\n    (if (equal? n 1)\n      1\n      (+ (fib (- n 2)) (fib (- n 1)))\n    )\n  )\n))\n(print (fib 20) )\n(print (fib 21) )\n(print (fib 22) )\n(print (fib 23) )\n(print (fib 24) )\n(print (cons 1 (cons 2 3)))\n(print #t)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fmini-scheme-haskell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwtgck%2Fmini-scheme-haskell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fmini-scheme-haskell/lists"}