Introducing Nukleus, a revolutionary programming language designed with a focus on AI, GUI, and cross-platform development. Underpinned by the robustness of Rust, Nukleus promises high performance, reliability, and ease of maintenance.
While Nukleus is still in its early stages, our team is devoted to bringing an array of exciting features to life. Stay tuned for the journey ahead!
- Under Development
- Live Now
Nukleus' current compiler is a basic yet robust tool designed for early-stage development. Here’s what it supports as of now:
- Recursive Function Calls: Enables functions to call themselves, facilitating complex computations like the Fibonacci sequence.
- Operator Precedence: Ensures mathematical expressions are evaluated in the correct order, respecting standard mathematical rules.
- Control Structures: Includes
if
andelse
for conditional execution, andfor
loops for iterative operations.
- No 'Print' Support: Currently, the compiler lacks the ability to output results directly to the console or any other output stream.
- Sample Code Execution: The compiler is optimized to run specific sample codes like
Fibonacci.nk
.
fn fibonacci(i64:n) -> i64 {
let:i64 return_val = 0;
if(n < 2) {
return_val = n;
} else {
return_val = fibonacci( n-1 ) + fibonacci( n-2 );
}
return return_val;
}
fn main() -> i64 {
let:i64 x = 47;
return fibonacci(x);
}
This limitation is a temporary measure as we continue to refine and expand the compiler’s capabilities.
In contrast, the experimental interpreter can run a wider range of Nukleus code, showcasing the language's potential and flexibility.
- Intuitive syntax influenced by the elegance of modern programming languages
- Top-notch efficiency powered by the might of Rust
- Versatility that stands out
- Cross-platform capabilities
- Integrated GUI toolkit
- Comprehensive AI toolkit
- Strongly typed language ensuring enhanced reliability and maintainability
- Rich and extensive standard library
- Expandability with Rust libraries
- User-centric documentation filled with practical examples
Welcome to Nukleus! Here's how to get started:
- Download the Nukleus Compiler/Interpreter: You need to build the project locally for the moment.
- Access the Example Repository: Our GitHub repository has a variety of sample programs for you to try.
- Run and Modify: Start by running these examples and then experiment by making changes.
- Create Your Code: Use your new knowledge to write your own Nukleus program.namic community!