{"id":19837743,"url":"https://github.com/willghatch/toylithp","last_synced_at":"2026-05-14T09:36:13.920Z","repository":{"id":23781912,"uuid":"27157272","full_name":"willghatch/toylithp","owner":"willghatch","description":"A lithp implementathion in JavaThcript for fun.","archived":false,"fork":false,"pushed_at":"2014-12-07T07:52:03.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-11T11:15:33.626Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/willghatch.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":"2014-11-26T03:07:48.000Z","updated_at":"2014-12-07T07:52:03.000Z","dependencies_parsed_at":"2022-08-19T12:22:14.005Z","dependency_job_id":null,"html_url":"https://github.com/willghatch/toylithp","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/willghatch%2Ftoylithp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willghatch%2Ftoylithp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willghatch%2Ftoylithp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willghatch%2Ftoylithp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willghatch","download_url":"https://codeload.github.com/willghatch/toylithp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241202613,"owners_count":19926648,"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-11-12T12:15:31.849Z","updated_at":"2026-05-14T09:36:13.845Z","avatar_url":"https://github.com/willghatch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"toylithp\n========\n\nIt'th a toy, that ith only half done.  My idea ith to integrate it well into the JavaThcript world... maybe I'll uthe it in a webpage or thomething.\n\nThat thaid, it'th really jutht for fun and learning.\n\nIt doeth have bathic primitiveth, thuch ath:\n\n- define\n- lambda\n- quote, quasiquote, unquote, unquotesplicing\n- if\n- set\n- begin\n- defmacro\n- procedure calls and macro expansion\n- constant numbers, strings, symbols\n\nAth well ath thome predefined functhionth and valueth:\n\n- plus, minus, div, mult, not\n- t, f, n (true, false, null)\n\n\nI plan to thupport both JavaThcript arrayth and linked lithttth, with [] and () thyntaxth, rethpectively.  And objectth with {} thyntaxth.\n\nThe bathic functhions:\n\n    toylithp.eval(toylithp.read(\"(thome thexthpth (can go) (here))\"))\n    // or\n    toylithp.reval(\"(ithnt lithp fun!)\")\n\nFor now, interacthion with JavaThcript ith mothtly like thith:  Toylithp'th default environment inheritth from the global environment.  Acctheth to memberth of objectth ith with the \u003ccode\u003edotsym\u003c/code\u003e macro or the \u003ccode\u003edotstr\u003c/code\u003e function.\n\n    (dotstr foo bar baz) --\u003e foo[bar][baz]\n    (dotsym foo bar baz) --\u003e foo.bar.baz\n\nThe macroth neither bathe nor bruth their teeth.  The thyntaxth ith more CL like than Thcheme like -- \u003ccode\u003e(defmacro name (lambda list) forms)\u003c/code\u003e\n\nIt'th a work in progreth.  I plan to make better thyntaxth for dot, thupport object creathion with {}.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillghatch%2Ftoylithp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillghatch%2Ftoylithp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillghatch%2Ftoylithp/lists"}