{"id":14008332,"url":"https://github.com/finkel-lang/finkel","last_synced_at":"2025-07-24T03:32:38.952Z","repository":{"id":186855211,"uuid":"233804724","full_name":"finkel-lang/finkel","owner":"finkel-lang","description":"Haskell in S-expression","archived":false,"fork":false,"pushed_at":"2024-09-18T09:54:38.000Z","size":22570,"stargazers_count":171,"open_issues_count":2,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-09-18T13:10:56.121Z","etag":null,"topics":["compiler","haskell","language","lisp","programming-language","repl"],"latest_commit_sha":null,"homepage":"https://finkel.readthedocs.io/","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/finkel-lang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-01-14T09:28:46.000Z","updated_at":"2024-09-18T09:54:37.000Z","dependencies_parsed_at":"2024-08-06T10:06:45.598Z","dependency_job_id":null,"html_url":"https://github.com/finkel-lang/finkel","commit_stats":null,"previous_names":["finkel-lang/finkel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finkel-lang%2Ffinkel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finkel-lang%2Ffinkel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finkel-lang%2Ffinkel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finkel-lang%2Ffinkel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/finkel-lang","download_url":"https://codeload.github.com/finkel-lang/finkel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227410599,"owners_count":17774776,"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":["compiler","haskell","language","lisp","programming-language","repl"],"created_at":"2024-08-10T11:01:35.515Z","updated_at":"2024-11-30T19:31:00.261Z","avatar_url":"https://github.com/finkel-lang.png","language":"Haskell","funding_links":[],"categories":["Haskell"],"sub_categories":[],"readme":"# Finkel\n\n[![CI status][ci-badge]][ci]\n[![Documentation][doc-badge]][doc]\n[![Codecov][codecov-badge]][codecov]\n\nFinkel is a statically typed, purely functional, and non-strict-by-default\n[LISP][lisp] flavored programming language.\n\nOr in other words, **[Haskell][haskell] in S-expression**.\n\n\n## Features\n\n- Integration with existing Haskell modules.\n- Building Haskell-compatible [Cabal][cabal] packages.\n- Documentation generation with [Haddock][haddock].\n- Lisp style macro system.\n- Tool executable, including interactive REPL.\n\n## Example\n\n### Sample code\n\n```clojure\n;;;; File: fib.hs\n\n(:doc \"Simple example module to show fibonacci number.\n\nThe compiled executable takes an integer argument from command line\ninput and print the fibonacci number of the argument.\")\n\n(defmodule Main\n  (import\n   (System.Environment [getArgs])))\n\n(defn (:: main (IO ()))\n  \"The main entry point function.\"\n  (\u003e\u003e= getArgs (. print fib read head)))\n\n(defn (:: fib (-\u003e Int Int))\n  \"Naive fibonacci function.\"\n  [0] 0\n  [1] 1\n  [n] (+ (fib (- n 1))\n         (fib (- n 2))))\n```\n\n### Compiling an executable\n\n```console\n$ finkel make -o fib fib.hs\n[1 of 1] Compiling Main             ( fib.hs, fib.o )\nLinking fib\n$ ./fib 10\n55\n```\n\n### Running REPL\n\n```console\n$ finkel repl\nHit `Ctrl-d' or type ,q to quit, type ,? for help.\n\u003e ,load fib.hs\n[1 of 1] Compiling Main             ( fib.hs, interpreted )\n; loaded fib.hs\n\u003e ,info fib\nfib :: Int -\u003e Int       -- Defined at fib.hs:16:11\n\u003e (map fib [1 .. 10])\n[1,1,2,3,5,8,13,21,34,55]\n\u003e (System.Environment.withArgs [\"10\"] main)\n55\n\u003e ,q\n```\n\n## Further resources\n\nSee the [documentation][doc] for more details.\n\n\n## Contributing\n\nContributions are welcome. Please see the [CONTRIBUTING.md][contrib].\n\n[ci-badge]: https://img.shields.io/github/actions/workflow/status/finkel-lang/finkel/ci.yml?logo=github\u0026label=ci\n[ci]: https://github.com/finkel-lang/finkel/actions/workflows/ci.yml\n[doc-badge]: http://readthedocs.org/projects/finkel/badge/?version=latest\n[doc]: https://finkel.readthedocs.io/en/latest/\n[codecov-badge]: https://codecov.io/gh/finkel-lang/finkel/branch/master/graph/badge.svg\n[codecov]: https://codecov.io/gh/finkel-lang/finkel\n\n[cabal]: https://www.haskell.org/cabal/\n[contrib]: https://github.com/finkel-lang/finkel/blob/master/CONTRIBUTING.md\n[haddock]: https://www.haskell.org/haddock/\n[haskell]: https://haskell.org\n[lisp]: https://en.wikipedia.org/wiki/Lisp_(programming_language)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinkel-lang%2Ffinkel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffinkel-lang%2Ffinkel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinkel-lang%2Ffinkel/lists"}