{"id":16009593,"url":"https://github.com/fwcd/tip","last_synced_at":"2026-01-21T15:32:28.956Z","repository":{"id":98826835,"uuid":"278160672","full_name":"fwcd/tip","owner":"fwcd","description":"Compiler frontend for a small, purely functional programming language","archived":false,"fork":false,"pushed_at":"2020-11-04T01:52:55.000Z","size":49,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-07T15:17:33.023Z","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/fwcd.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,"publiccode":null,"codemeta":null}},"created_at":"2020-07-08T18:06:38.000Z","updated_at":"2023-07-25T14:37:17.000Z","dependencies_parsed_at":"2023-05-25T16:30:34.713Z","dependency_job_id":null,"html_url":"https://github.com/fwcd/tip","commit_stats":{"total_commits":56,"total_committers":1,"mean_commits":56.0,"dds":0.0,"last_synced_commit":"c8f8cef3023332822392a60de607e6f27b750bc4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fwcd/tip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Ftip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Ftip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Ftip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Ftip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fwcd","download_url":"https://codeload.github.com/fwcd/tip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Ftip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28635862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T15:01:31.228Z","status":"ssl_error","status_checked_at":"2026-01-21T14:42:58.942Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-10-08T13:03:04.484Z","updated_at":"2026-01-21T15:32:28.940Z","avatar_url":"https://github.com/fwcd.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tip\nA small, Haskell-like, purely functional programming language.\n\nThis repo contains the compiler frontend that parses a source file and emits a (typed) AST.\n\nNote that the project is highly experimental and mostly an attempt to gain a better understanding of how type checking and type inference works in the context of lambda calculus.\n\nThe type system is a basic Hindley-Milner system that is heavily inspired by Christoph Hegemann's \"Type Inference From Scratch\" talk.\n\n## Example\n\n```\nlet const = \\x -\u003e \\y -\u003e x in (const \"Hello!\")\n```\n\nThe frontend then yields the following, fully-typed expression:\n\n```\n(let const = (\\x -\u003e \\y -\u003e x) :: _a -\u003e _b -\u003e _a\nin (const \"Hello!\" :: _e -\u003e String)) :: _e -\u003e String\n```\n\n## Running\n`stack run -- [input file] [output file]`\n\nFor example:\n\n`stack run -- examples/HelloWorld.tip output/HelloWorld`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwcd%2Ftip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffwcd%2Ftip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwcd%2Ftip/lists"}