{"id":29192292,"url":"https://github.com/linuskmr/fortytwo-lang","last_synced_at":"2025-07-16T13:05:48.938Z","repository":{"id":45316333,"uuid":"363671756","full_name":"linuskmr/fortytwo-lang","owner":"linuskmr","description":"FTL is my own programming language. It is inspired by Kaleidoscope, a language introduced in an LLVM tutorial.","archived":false,"fork":false,"pushed_at":"2024-12-30T17:42:20.000Z","size":407,"stargazers_count":3,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-02T01:06:00.437Z","etag":null,"topics":["compiler","kaleidoscope-lang","llvm","programming-language","rust","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linuskmr.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}},"created_at":"2021-05-02T14:33:55.000Z","updated_at":"2024-12-30T17:42:23.000Z","dependencies_parsed_at":"2024-06-01T21:16:40.066Z","dependency_job_id":"a64d400d-2f16-4873-b41e-626ca2283703","html_url":"https://github.com/linuskmr/fortytwo-lang","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/linuskmr/fortytwo-lang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuskmr%2Ffortytwo-lang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuskmr%2Ffortytwo-lang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuskmr%2Ffortytwo-lang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuskmr%2Ffortytwo-lang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linuskmr","download_url":"https://codeload.github.com/linuskmr/fortytwo-lang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuskmr%2Ffortytwo-lang/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265512213,"owners_count":23779888,"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","kaleidoscope-lang","llvm","programming-language","rust","rust-lang"],"created_at":"2025-07-02T01:06:06.177Z","updated_at":"2025-07-16T13:05:48.833Z","avatar_url":"https://github.com/linuskmr.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fortytwo-lang\n\nfortytwo-lang (FTL) is a programming language. The syntax is a mix of C and Python.\nIt is based on the programming language _Kaleidoscope_ from an\n[LLVM tutorial](https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index.html).\n\nThe goal for FTL is to compile to LLVM IR at some point in the future.\n\nSee [Future Thoughts](docs/future_thoughts.md) for how the language could look like later on.\n\nSee [libftl](https://github.com/linuskmr/libftl) for ideas regarding the standard library of FTL.\n\n## [Installation](docs/installation.md)\n\n## [Running](src/bin)\n\n## Sourcecode Documentation\n\nTo get the documentation of the fortytwo-lang sourcecode, run the following [on your local computer](docs/installation.md#compile-yourself):\n\n```\ncargo doc --document-private-items --open\n```\n\n## Reserved keywords\n\nYou may don't use these for variable names as they could get keywords in the future.\n\n**Memory:**\nref\nderef\nalloc\ndel\nnew\ndefault\nnil\n\n**Math:**\nshl\nshr\nbitxor\nbitor\nbitand\n\n**Logic:**\nbool\ntrue\nfalse\nand\nor\nxor\nnot\n\n**Data structures:**\nstruct\narr\nconst\nchar\nstring\nlist\nenum\n\n**Loops:**\nfor\nin\nof\nwhile\n\n**Useful stuff:**\ndebug\nprint\nerror\ndef\nextern\n\n**Integer data types:**\nint8\nuint8\nint16\nuint16\nint32\nuint32\nint64\nuint64\n\n**Floating point number data types:**\nfloat32\nfloat64\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuskmr%2Ffortytwo-lang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinuskmr%2Ffortytwo-lang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuskmr%2Ffortytwo-lang/lists"}