{"id":21164568,"url":"https://github.com/polsys/cle","last_synced_at":"2026-04-24T20:01:51.787Z","repository":{"id":85272502,"uuid":"162020156","full_name":"polsys/cle","owner":"polsys","description":"A native code compiler for a C-like language.","archived":false,"fork":false,"pushed_at":"2020-02-08T13:43:46.000Z","size":648,"stargazers_count":3,"open_issues_count":34,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-02T00:55:46.235Z","etag":null,"topics":["compiler","dotnet","dotnet-core","programming-language"],"latest_commit_sha":null,"homepage":"https://polsys.github.io/cle/","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/polsys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-12-16T16:32:22.000Z","updated_at":"2020-10-04T15:27:23.000Z","dependencies_parsed_at":"2023-05-14T18:30:19.823Z","dependency_job_id":null,"html_url":"https://github.com/polsys/cle","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/polsys/cle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polsys%2Fcle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polsys%2Fcle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polsys%2Fcle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polsys%2Fcle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polsys","download_url":"https://codeload.github.com/polsys/cle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polsys%2Fcle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32238748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: 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","dotnet","dotnet-core","programming-language"],"created_at":"2024-11-20T14:07:20.251Z","updated_at":"2026-04-24T20:01:51.752Z","avatar_url":"https://github.com/polsys.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cle - a simple C-like language\r\n\r\n[![Build Status](https://dev.azure.com/polsys/cle/_apis/build/status/polsys.cle?branchName=master)](https://dev.azure.com/polsys/cle/_build/latest?definitionId=3?branchName=master)\r\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=polsys_cle\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=polsys_cle)\r\n[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=polsys_cle\u0026metric=sqale_index)](https://sonarcloud.io/dashboard?id=polsys_cle)\r\n\r\nCle (stylized as Clé, for the French word) is a simple programming language inspired by C#, Rust and C/C++, compiled to optimized native code.\r\nIt is a hobby project of [@polsys](https://github.com/polsys), and as such not safe for production use but hopefully an interesting learning project.\r\n\r\n\r\n## Building\r\nThis is a .NET Core 3.0 project. Install the SDK, then execute\r\n```\r\ndotnet build\r\n```\r\nto restore NuGet packages and compile the solution.\r\nAlternatively, open the solution in up-to-date Visual Studio 2019 or later.\r\n\r\nUnit test projects use NUnit and can be executed with `dotnet test` or in Visual Studio.\r\n\r\n\r\n## Usage\r\nThe final compiler executable is produced in the output folder for `Cle.Frontend` project.\r\nExecute\r\n```\r\ndotnet cle.dll [directory]\r\n```\r\nto compile files in the specified directory.\r\nThe default is to compile files in the current directory.\r\nSpecify the `--help` option for more information.\r\n\r\nFor an example of a Clé program, see the [integration test cases](test/Cle.IntegrationTests/TestCases/Functional).\r\n\r\n\r\n## Contributing\r\nAs this is a personal hobby project, I'm not really expecting contributions, but feel free to tinker with the code and share your work!\r\nOnce past the initial bringup, I'll work in the open using GitHub issues and PRs, both for fun and to make the design history visible.\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolsys%2Fcle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolsys%2Fcle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolsys%2Fcle/lists"}