{"id":13787750,"url":"https://github.com/aionescu/dynasty","last_synced_at":"2025-07-27T01:31:39.831Z","repository":{"id":41257664,"uuid":"325142471","full_name":"aionescu/dynasty","owner":"aionescu","description":"A lazy functional language that compiles to JavaScript","archived":false,"fork":false,"pushed_at":"2023-12-26T16:29:19.000Z","size":377,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-18T01:39:12.624Z","etag":null,"topics":["alt-js","haskell","javascript","language","laziness"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aionescu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2020-12-28T23:54:59.000Z","updated_at":"2023-06-14T00:15:13.000Z","dependencies_parsed_at":"2023-02-09T08:01:38.583Z","dependency_job_id":"7bb52632-065e-4a02-ab25-06a8f9c47308","html_url":"https://github.com/aionescu/dynasty","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/aionescu%2Fdynasty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aionescu%2Fdynasty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aionescu%2Fdynasty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aionescu%2Fdynasty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aionescu","download_url":"https://codeload.github.com/aionescu/dynasty/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227741796,"owners_count":17812914,"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":["alt-js","haskell","javascript","language","laziness"],"created_at":"2024-08-03T21:00:29.872Z","updated_at":"2024-12-02T14:24:44.465Z","avatar_url":"https://github.com/aionescu.png","language":"Haskell","readme":"\u003c!-- markdownlint-disable first-line-heading --\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003edynasty\u003c/h1\u003e\n\n  \u003cimg src=\"assets/logo.png\" alt=\"Dynasty Logo\" width=\"150\" height=\"150\"/\u003e\n\u003c/div\u003e\n\nDynasty is a dynamically-typed, lazily evaluated, purely functional programming language that compiles to JavaScript.\n\n## Examples\n\nYou can find some Dynasty programs in the [examples](examples) folder.\n\nThe most interesting ones are the [Brainfuck interpreter](examples/bf) and the [Calculator web app](examples/calc).\n\nThe standard library and runtime code can be found in the [core](core) folder.\n\n## Building \u0026 running the compiler\n\n### Prerequisites\n\n* GHC (\u003e= 9.6)\n* cabal (\u003e= 3.8)\n\n(Both can be installed via [ghcup](https://www.haskell.org/ghcup/))\n\nTo compile Dynasty programs, use the following command:\n\n```sh\ncabal run . -- \u003ctarget-dir\u003e\n```\n\nThe first invocation may take a while, since it will also build the compiler's dependencies.\n\nBy default, the compiler outputs a file named `main.js`. You can include it in a `\u003cscript\u003e` tag inside an HTML document to load it in the browser, or run it directly using a JS runtime like [Node.js](https://nodejs.org/), [Deno](https://deno.land/), or [Bun](https://bun.sh/).\n\n## VS Code Extension\n\nTo install the VS Code extension, run `./dynasty-vscode/install.sh`.\n\n## License\n\nThis repository is licensed under the GNU General Public License v3.\n\nFor more details, see [the license file](LICENSE.txt).\n","funding_links":[],"categories":["Functional"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faionescu%2Fdynasty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faionescu%2Fdynasty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faionescu%2Fdynasty/lists"}