{"id":42488910,"url":"https://github.com/flint-lang/flintc","last_synced_at":"2026-03-01T00:08:13.705Z","repository":{"id":275049666,"uuid":"896999235","full_name":"flint-lang/flintc","owner":"flint-lang","description":"The Flint Compiler","archived":false,"fork":false,"pushed_at":"2026-02-20T23:33:03.000Z","size":9788,"stargazers_count":5,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-21T04:57:41.441Z","etag":null,"topics":["compiler","language","llvm","programming-language"],"latest_commit_sha":null,"homepage":"https://flint-lang.github.io/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flint-lang.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-01T20:15:26.000Z","updated_at":"2026-02-20T23:33:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb64c1a4-d3bb-4ec6-af7e-1f87ac87552b","html_url":"https://github.com/flint-lang/flintc","commit_stats":null,"previous_names":["flint-lang/flintc"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/flint-lang/flintc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flint-lang%2Fflintc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flint-lang%2Fflintc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flint-lang%2Fflintc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flint-lang%2Fflintc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flint-lang","download_url":"https://codeload.github.com/flint-lang/flintc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flint-lang%2Fflintc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29955885,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T22:53:01.873Z","status":"ssl_error","status_checked_at":"2026-02-28T22:52:50.699Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["compiler","language","llvm","programming-language"],"created_at":"2026-01-28T11:46:14.331Z","updated_at":"2026-03-01T00:08:08.680Z","avatar_url":"https://github.com/flint-lang.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cp\u003e\n    \u003cimg width=\"100\" src=\"https://raw.githubusercontent.com/flint-lang/logo/main/logo.svg\"\u003e\n    \u003ch1\u003eThe Flint Programming Language\u003c/h1\u003e\n\u003c/p\u003e\n\n\u003cp\u003e\nAn approachable programming language to make power and performance accessible without bloat, in a high level package.\n\nThis repository is contains the Flint compiler itself.\n\n\u003c/p\u003e\n\n\u003cp\u003e\n    \u003ca href=\"#\"\u003e\u003cimg src=\"https://img.shields.io/badge/c++-%2300599C.svg?style=flat\u0026logo=c%2B%2B\u0026logoColor=white\"\u003e\u003c/img\u003e\u003c/a\u003e\n    \u003ca href=\"http://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/github/license/flint-lang/flintc?color=black\"\u003e\u003c/img\u003e\u003c/a\u003e\n    \u003ca href=\"#\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/flint-lang/flintc\"\u003e\u003c/img\u003e\u003c/a\u003e\n    \u003ca href=\"#\"\u003e\u003cimg src=\"https://img.shields.io/github/forks/flint-lang/flintc\"\u003e\u003c/img\u003e\u003c/a\u003e\n    \u003ca href=\"#\"\u003e\u003cimg src=\"https://img.shields.io/github/repo-size/flint-lang/flintc\"\u003e\u003c/img\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/flint-lang/flintc/graphs/contributors\"\u003e\u003cimg src=\"https://img.shields.io/github/contributors/flint-lang/flintc?color=blue\"\u003e\u003c/img\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/flint-lang/flintc/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/flint-lang/flintc\"\u003e\u003c/img\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://flint-lang.github.io/\"\u003eDocumentation\u003c/a\u003e ·\n  \u003ca href=\"https://github.com/flint-lang/flintc/issues\"\u003eReport a Bug\u003c/a\u003e ·\n  \u003ca href=\"https://github.com/flint-lang/flintc/issues\"\u003eRequest Feature\u003c/a\u003e ·\n  \u003ca href=\"https://github.com/flint-lang/flintc/pulls\"\u003eSend a Pull Request\u003c/a\u003e\n\u003c/p\u003e\n\n\u003c/div\u003e\n\n## Introduction\n\n\u003e [!IMPORTANT]\n\u003e Flint is not finished yet and many features are still missing, but we work hard at finishing it as quick as possible.\n\u003e Please report any issues you may encounter with the [Flint Issue Tracker](https://github.com/flint-lang/flintc/issues).\n\nThis project contains the custom **Flint Compiler** built in C++. Flint is a statically typed, compiled and fully deterministic language which sets code clarity, ease of use and performance as its very top priorities.\n\n## Example\n\n```rs\nuse Core.print\n\ndef main():\n    print(\"Hello, World!\\n\");\n```\n\n## Installation\n\n### Linux\n\nFirst download the `flintc` binary for your given platform from the [Releases](https://github.com/flint-lang/flintc/releases) page. To make the Flint compiler available from any path in your terminal, and to make it executable through just calling `flintc` in your terminal, you need to copy the `flintc` executable into the `$HOME/.local/bin/` directory (if it does not exist yet, i would highly recommend to create it) and you need to ensure it is marked as executable with this command:\n\n```sh\nchmod +x $HOME/.local/bin/flintc\n```\n\nAfter adding the `flintc` binary to the `$HOME/.local/bin` directory you should edit your `$HOME/.bashrc` file and ensure it contains the line\n\n```sh\nPATH=\"$PATH:$HOME/.local/bin\"\n```\n\nAnd then you can simply use the compiler from any terminal like so:\n\n```sh\nflintc --help\n```\n\nYou need `base-devel` (Arch) or `build-essential` (Ubuntu) installed in order for the Flint compiler to be able to compile any program. It needs the `crt1.o`, `crti.o` and `crtn.o` lib files available to it.\n\n### Windows\n\nInstallation on Windows is pretty easy, it's just a one-line command:\n\n```ps1\npowershell -NoProfile -ExecutionPolicy Bypass -Command \"iex (irm 'https://github.com/flint-lang/flint/releases/download/installer/flint_installer.ps1')\"\n```\n\nOr if this one-liner scares you you can still [download](https://github.com/flint-lang/flint/releases/download/installer/flint_installer.ps1) the installer directly and execute the downloaded script using the command\n\n```ps1\nPowerShell -NoProfile -ExecutionPolicy Bypass -File .\\flint_installer.ps1\n```\n\nThe installer will always download the latest Flint release directly and adds it to th path variable for you. You can then use the compiler using\n\n```ps1\nflintc --help\n```\n\ndirectly in any PowerShell or Command Prompt from any directory.\n\n## Building\n\nIt is recommended to build the project with the `zig build` command after cloning this repository.\n\n### Prequisites\n\n- Zig\n- `lld` (Zig does not provide `lld` itself)\n- CMake (to build LLVM)\n- Ninja (to build LLVM)\n- Python (\u003e3.8, to build LLVM)\n\n### Linux\n\nOn Linux you need to install the packages via your package manager of choice and then it should be smooth sailing with `zig build`.\n\n### Windows\n\nOn Windows it is recommended to simpy use `winget` to install all these required dependencies for this project:\n\n- `zig.zig` for Zig itself\n- `MartinStorsjo.LLVM-MinGW.UCRT` to get `ld.lld` since Zig does not ship it, and to get the C++ `std` library headers (`\u003cstring\u003e`, etc)\n- `CMake`\n- `Ninja-build.Ninja`\n- `python3`\n\n```ps1\nwinget install zig.zig MartinStorsjo.LLVM-MinGW.UCRT CMake Ninja-build.Ninja python3\n```\n\nAfter that you should have all C++ stl header libraries installed on your system, there is no need to install anything related to VS on the system. After all these packages are installed you can simply call `zig build` to compile the Flint compiler.\n\nCompiling LLVM itself for the first time could take up to an hour, it takes quite a lot of time, be aware of that. After the initial build the `flintc` directory takes up roughly 15GB of storage space, so be aware that LLVM takes a lot of space.\n\n\u003e [!NOTE]\n\u003e I was not able to get `neovim` to work properly on Windows, it did not like the installed standard library from the above mentioned minimal llvm-mingw package. `Zed`, however, worked fine so it now is the recommended IDE to use on Windows. I still need to figure out why nvim doesn't work on Windows, i would much rather use it instead of Zed but hey, we can't get everything.\n\n### After Compilation\n\nAfter compiling the compiler you need `base-devel` (Arch) or `build-essential` (Ubuntu) pavkages installed in order for the Flint compiler to be able to compile any program. This is because it needs the `crt1.o`, `crti.o` and `crtn.o` files available in your lib path.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflint-lang%2Fflintc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflint-lang%2Fflintc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflint-lang%2Fflintc/lists"}