{"id":25526262,"url":"https://github.com/exbotanical/idl","last_synced_at":"2026-02-05T16:32:53.680Z","repository":{"id":55696377,"uuid":"283938551","full_name":"exbotanical/IDL","owner":"exbotanical","description":"A Lisp that leverages continuation-passing style and tail call optimization to dramatically enhance JavaScript runtime performance. interpreter, runtime, and transpiler","archived":false,"fork":false,"pushed_at":"2021-06-15T02:53:29.000Z","size":123,"stargazers_count":4,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-21T09:04:26.222Z","etag":null,"topics":["continuation-passing-style","custom-programming-language","functional-programming","lisp-dialect","lisp-variant","reducer-pattern","scheme-dialect","transduction"],"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/exbotanical.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":"2020-07-31T04:04:52.000Z","updated_at":"2024-06-24T02:55:57.000Z","dependencies_parsed_at":"2022-08-15T06:30:43.212Z","dependency_job_id":null,"html_url":"https://github.com/exbotanical/IDL","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/exbotanical/IDL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exbotanical%2FIDL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exbotanical%2FIDL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exbotanical%2FIDL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exbotanical%2FIDL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exbotanical","download_url":"https://codeload.github.com/exbotanical/IDL/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exbotanical%2FIDL/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29125853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T14:05:12.718Z","status":"ssl_error","status_checked_at":"2026-02-05T14:03:53.078Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["continuation-passing-style","custom-programming-language","functional-programming","lisp-dialect","lisp-variant","reducer-pattern","scheme-dialect","transduction"],"created_at":"2025-02-19T21:17:06.333Z","updated_at":"2026-02-05T16:32:53.660Z","avatar_url":"https://github.com/exbotanical.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## IDL - A Lisp-like syntax for functional programming\n\n## Table of Contents\n\n - [Introduction](#intro) \n    * [Packages](#packages)\n    * [Features](#features)\n - [Documentation](#docs)\n    * [Demos](#demo)\n\n## \u003ca name=\"intro\"\u003e\u003c/a\u003e Introduction\n\n## \u003ca name=\"packages\"\u003e\u003c/a\u003e Packages\n\n  - [Recursive Descent Parser](https://github.com/MatthewZito/IDL/tree/master/packages/parser)\n    * [Input Stream Processor](https://github.com/MatthewZito/IDL/blob/master/packages/parser/process-input-stream.js)\n    * [Lexer / Tokenizer](https://github.com/MatthewZito/IDL/blob/master/packages/parser/lexer.js)\n    * [Core Parser](https://github.com/MatthewZito/IDL/blob/master/packages/parser/parser.js)\n  - [Interpreter](https://github.com/MatthewZito/IDL/tree/master/packages/interpreter)\n    * [CPS Evaluator](https://github.com/MatthewZito/IDL/blob/master/packages/interpreter/context.js)\n    * [Constructs and Primitives](https://github.com/MatthewZito/IDL/blob/master/packages/interpreter/constructs.js)\n  - [Compiler Set](https://github.com/MatthewZito/IDL/tree/master/packages/compiler)\n    * [CPS Transformer](https://github.com/MatthewZito/IDL/blob/master/packages/compiler/CPS-transformer.js)\n    * [JavaScript Transpiler](https://github.com/MatthewZito/IDL/blob/master/packages/compiler/transpiler.js)\n  - [CPS Optimizer](https://github.com/MatthewZito/IDL/blob/master/packages/optimizer/CPS-optimizer.js)\n  - [Node.js Runtime](https://github.com/MatthewZito/IDL/blob/master/packages/environment/synthetic-runtime.js)\n\n## \u003ca name=\"features\"\u003e\u003c/a\u003e Features\n\n  - Stack monitoring and garbage collection\n  - CPS / Continuations (specifically, IDL control flow is recursively bound by continuation-passing)\n  - Recursive Descent Parser\n  - Concurrent Lexer for rendering ASTs\n  - Compiles to JavaScript (cross-maps IDL ASTs into JavaScript syntax)\n\n## \u003ca name=\"docs\"\u003e\u003c/a\u003e Documentation\n\nDocs coming soon...\n\n## \u003ca name=\"demo\"\u003e\u003c/a\u003e Abstractions \n\n### IDL Code Samples\nIDL code samples have been relocated to [this directory](https://github.com/MatthewZito/IDL/blob/master/examples)\n\n### Compiling to JavaScript (and optimizing)\n\nIDL:\n```\n(resolver(){\n    let (a = 2) {\n      let (a = 3) {\n        print(a);\n      };\n      print(a);\n    };\n  })();\n```\n\nJavaScript (pre-optimization):\n```\n(function ε_CC(ε_K1) { \n    STACK_GUARD(arguments, ε_CC); \n    (function ε_CC(ε_K2, a) { \n        STACK_GUARD(arguments, ε_CC); \n        (function ε_CC(ε_K3, a) { \n            STACK_GUARD(arguments, ε_CC); \n            print((function ε_CC(ε_R4) { \n                STACK_GUARD(arguments, ε_CC); \n                ε_K3(ε_R4) \n            }), a) \n        }) \n        ((function ε_CC(ε_R5) { \n            STACK_GUARD(arguments, ε_CC); \n            print((function ε_CC(ε_R6) { \n                STACK_GUARD(arguments, ε_CC); \n                ε_K2(ε_R6) \n            }), a) \n        }), 3) \n    })\n    ((function ε_CC(ε_R7) { \n        STACK_GUARD(arguments, ε_CC); \n        ε_K1(ε_R7) \n    }), 2) \n})\n((function ε_CC(ε_R8) {\n     STACK_GUARD(arguments, ε_CC); \n     ε_R8 \n    }))\n```\n\nPost-optimization:\n```\n(function (ε_K1) { \n    var a, ε_K3, ε_a$1;\n    ((a=2), ((ε_K3 = (function (ε_R5) { \n        print(ε_K1, a) \n    })), ((ε_a$1=3), \n        print((function (ε_R4) { \n            ε_K3(ε_R4) \n        }), ε_a$1)))) })((function (ε_R8) { \n            ε_TOPLEVEL(ε_R8) \n        }));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexbotanical%2Fidl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexbotanical%2Fidl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexbotanical%2Fidl/lists"}