| Why? | Goals | Status | Goals | Getting started |
Helix is an experimental language designed for seamless interoperability with Python, C, C++, and Rust. The project aims to provide developers with a fast, efficient, and easy-to-use language that can leverage the power of existing code and libraries in these languages. With its clean syntax and robust features, Helix aims to simplify the process of writing and maintaining code while maximizing performance.
Fast and Interoperable
- Helix offers high performance and interoperability with Python, C, C++, and Rust, allowing developers to seamlessly integrate code from these languages.
- Developers can leverage existing libraries and codebases while benefiting from Helix's simplicity and efficiency.
- With a focus on speed and efficiency, Helix enables developers to write fast and efficient code with ease.
Simple and easy to use
- Helix features a clean and intuitive syntax, making it easy for developers to write and understand code.
- The language prioritizes simplicity and readability, ensuring that developers can quickly grasp its concepts and write maintainable code.
Rich Feature Set
- Helix provides a rich set of features including variables, functions, control flow, data types, classes, and more.
- Support for advanced language constructs such as generics, inheritance, and operator overloading is planned, further enhancing Helix's versatility.
- The language aims to strike a balance between power and simplicity, offering developers the tools they need without unnecessary complexity.
Helix is currently in the early stages of development, with a target for a working prototype by March 2024. The project encompasses various aspects, including language implementation, features, and syntax.
As of now, the project has the following structure and features:
- Lexer
- Parser
- Abstract Syntax Tree (AST)
- Semi-colon Checking - courtesy of mbambav
- Error Handling
- Type Checking
- [-] Transpiler
- Variables
- Functions
- Control Flow
- User defined types
- Primitive types / Imported types
- Classes
- Generics
- Parameterized Types
- Inheritance
- [-] Operator Overloading
- Interop:
- Python (CPython importing Helix and Helix importing CPython)
- C (C importing Helix and Helix importing C)
- C++ (C++ importing Helix and Helix importing C++)
- Rust (Rust importing Helix and Helix importing Rust)
- Standard Library
- Package Manager
- Documentation
- Testing
- Benchmarking
- Profiling
- Debugging
- Error Handling
- Memory Management
- Concurrency
- Comments
- Variables
- Functions
- Control Flow
- Data Types
- Classes
- Inheritance
- Operator Overloading
- Interop
The project is actively being developed, with ongoing work to implement remaining features and enhance existing functionality. Contributions and feedback are welcomed as we progress towards the goal of creating a powerful and versatile language.
The Helix project aims to achieve the following goals:
- Interoperability: Helix will provide seamless interoperability with Python, C, C++, and Rust, allowing developers to integrate code from these languages with ease.
- Performance: The language will prioritize speed and efficiency, enabling developers to write fast and efficient code without sacrificing simplicity.
- Simplicity: Helix will feature a clean and intuitive syntax, making it easy for developers to write and understand code.
- Rich Feature Set: The language will offer a rich set of features including variables, functions, control flow, data types, classes, and more, providing developers with the tools they need to write powerful code.
- Documentation: Helix will provide comprehensive documentation to help developers learn the language and make the most of its features.
- Testing and Benchmarking: The project will include robust testing and benchmarking tools to ensure the reliability and performance of the language.
- Community Involvement: The Helix project will encourage community involvement, welcoming contributions, feedback, and collaboration to help improve the language.
- Standard Library: Helix will include a standard library with a wide range of functions and modules to support common programming tasks.
- Package Manager: The language will feature a package manager to help developers discover, install, and manage third-party libraries and tools.
- Debugging and Profiling: Helix will provide tools for debugging and profiling code to help developers identify and fix issues and optimize performance.
- Memory Management: The language will include memory management features to help developers manage memory efficiently and avoid memory leaks and other issues.
- Concurrency: Helix will support concurrency to enable developers to write efficient, parallel code for multi-core and distributed systems.
- Error Handling: The language will provide robust error handling features to help developers write reliable and resilient code.
To get started with Helix, you can follow the steps below:
- Clone the Helix repository from GitHub:
git clone https://github.com/kneorain/helix
- Navigate to the project directory:
- Run the auto installer with
cd helix-lang ./init
- Now the venv should be installed with all the dependices andn should be as easy as
.venv/bin/python312 helix.py syntax/test.hlx
Warning: Helix is currently in the early stages of development and is not yet ready for production use. The project is under active development, and breaking changes may occur. We recommend using Helix for experimental purposes only and providing feedback to help improve the language.