{"id":18695062,"url":"https://github.com/rybla/functive","last_synced_at":"2025-11-08T13:30:32.649Z","repository":{"id":81618176,"uuid":"193407178","full_name":"rybla/Functive","owner":"rybla","description":"A simple modular extendible statically-typed symbolic programming language with dependent types. Implemented in Haskell.","archived":false,"fork":false,"pushed_at":"2019-07-16T04:56:54.000Z","size":2459,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T03:20:30.976Z","etag":null,"topics":[],"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/rybla.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","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}},"created_at":"2019-06-24T00:01:23.000Z","updated_at":"2019-07-16T04:56:56.000Z","dependencies_parsed_at":"2023-03-06T01:15:23.796Z","dependency_job_id":null,"html_url":"https://github.com/rybla/Functive","commit_stats":null,"previous_names":["rybla/functive"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybla%2FFunctive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybla%2FFunctive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybla%2FFunctive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybla%2FFunctive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rybla","download_url":"https://codeload.github.com/rybla/Functive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239558907,"owners_count":19658927,"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-07T11:13:48.427Z","updated_at":"2025-11-08T13:30:32.615Z","avatar_url":"https://github.com/rybla.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Functive\n\nA simple modular extendible statically-typed symbolic programming language with dependent types.\nImplemented in Haskell.\n\n## concepts\n\n__simple__:\n- clean and simple \"low-level\" functional programming language\n- explicit abstract syntax i.e. parentheses are required\n- inspired  Gallina and the ML family (but without many extras)\n- no annoying \"syntactical-sugar\" constructions built-in; all syntax is consistent and modular\n\n__extendible__:\n- interface for easy implementations of macros and language constructs into pre-processor\n- inspired by Racket and Coq's `Notation`\n\n__modular__:\n- straighforward module system\n- doesn't depend of file structure i.e. compilation/interpretation is done after concatenating all sourcecode together\n\n__statically-typed__:\n- complete compile-time type-checking enforcement\n- (named) typed holes in the form of `Assumption`s\n\n__symbolic__:\n- symbolic representations of values\n- if `f` is not defined and `(f x)` is evaluated, `f` is assumed to have the correct type and the value is the symbolic expression `(f x)`\n- if two functions `f` and `g` are assumed this way and then compared (e.g. `f x = g x` is written) they are treated as distinct since their names are distinct\n\n__dependent types__:\n- type constructors e.g. `list : type -\u003e type`\n- value-dependent types e.g. `finite : nat -\u003e type`\n- type variables e.g. `mul_identity : forall n:nat, n * 1 = n`\n- explicit polymorphism e.g. `empty_list : forall a:type, list a`\n- infinite type hierarchy e.g. `(type = type0) : type1 : type2 : type3 : ...`\n\n\n## organization\n\n| directory   | description |\n| ---         | --- |\n| `src/`      | haskell source-code. |\n| `app/`      | haskell executable source-code. |\n| `test/`     | haskell unit tests. |\n| `doc/`      | haskell documentation. |\n| `design/`   | reader-friendly design details (LaTex/PDF) |\n| `examples/` | example _functive_ prorams. |\n\n## building\n\nUsing [stack](https://docs.haskellstack.org/en/stable/README/).\n\n```sh\n  stack build\n```\n\n## executing\n\nRun unit tests with\n\n```sh\n  stack test\n```\n\nRun executable (`app/Main.hs`) with\n\n```sh\n  stack exec functive-hs-exe\n```\n\n## tutorial\n\nTODO\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frybla%2Ffunctive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frybla%2Ffunctive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frybla%2Ffunctive/lists"}