https://github.com/cloth-foundation/cloth
A statically-typed OOP language with two-pass compilation.
https://github.com/cloth-foundation/cloth
compiler golang help-wanted programming-language static-typing
Last synced: about 2 months ago
JSON representation
A statically-typed OOP language with two-pass compilation.
- Host: GitHub
- URL: https://github.com/cloth-foundation/cloth
- Owner: Cloth-Foundation
- License: other
- Created: 2025-08-04T09:11:55.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-09-27T20:12:26.000Z (9 months ago)
- Last Synced: 2025-09-27T22:11:31.517Z (9 months ago)
- Topics: compiler, golang, help-wanted, programming-language, static-typing
- Language: Go
- Homepage: https://cloth.dev
- Size: 1.6 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Governance: GOVERNANCE.md
Awesome Lists containing this project
README
[Cloth]: https://cloth.dev
[Learn]: https://cloth.dev/learning-center
[Documentation]: https://docs.cloth.dev
[Contributing]: CONTRIBUTING.md
This is the main source code repository for [Cloth](https://cloth.dev), including the compiler, standard library,
documentation, and tooling. Shuttle can be found [here.](https://github.com/Cloth-Foundation/Shuttle)
# What is Cloth?
Cloth is a high-performance, object-oriented, low-level language designed for predictable execution and maintainable
systems programming. It combines familiar C-style control with a structured, Java-like class model.
- *Performance* – Cloth avoids garbage collection and uses deterministic destruction, resulting in predictable runtime
behavior and minimal overhead.
- *Maintainability* – A structured, class-oriented design and explicit syntax make large codebases easier to reason
about and evolve over time.
- *Productivity* – Strong compile-time guarantees and explicit error handling reduce runtime surprises and debugging
complexity.
- *Memory Safety* – Cloth uses a hierarchical ownership model with deterministic destruction. Objects form an ownership
tree rooted at program entry, while static data exists in a separate root-lifetime domain, allowing for safe and
predictable memory management without a garbage collector.
## Quick Start Guide
Download the latest compiler installer for your operating system and follow the on-screen instructions. You may need
administrator permissions.
## Build From Source
While not recommended, you can follow [the Installation Guide](INSTALL.md).
## Required 3rd Party Libraries
> There is a plan when an installer is made that it will automatically install these libraries.
- [Git](https://github.com/git/git)
- [Clang](https://clang.llvm.org/)
## Help
See the [Help Center](https://cloth.dev/resources) or the [Documentation](https://docs.cloth.dev/) for help resources.
## Contributing
See [Contributing.md](CONTRIBUTING.md).
## License
Cloth is distributed under the terms of the MIT license and Apache 2.0 license.