Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a22949b94eab284b

Jump to content

Draft:Alusus (programming language)

From Wikipedia, the free encyclopedia


Alusus
ParadigmMulti-paradigm: procedural, object-oriented, functional
Designed bySarmad Khalid Abdullah
DeveloperAlusus Software Ltd.
Typing disciplineStatic, strong
LicenseAlusus Public License
Filename extensions.alusus
Websitealusus.org
Major implementations
Alusus Compiler
Dialects
English, Arabic

Alusus is an open-source, general-purpose programming language designed for high extensibility. Developed by Alusus Software Ltd, it aims to unify low-level programming (similar to C and C++) with high-level programming (similar to Python) within a single language framework.

The language is notable for its "horizontally and vertically" expandable architecture, which allows users to add new language features, syntax, and programming paradigms via libraries without modifying the core compiler.

Key Features

[edit]

Extensibility and Dialects

[edit]

The defining feature of Alusus is its ability to be dynamically extended at compile-time. Unlike traditional languages with fixed grammar, Alusus allows:

  • Dynamic Grammar: Users can define new grammar rules and syntax during the compilation process.
  • Compiler Interoperability: Programs can communicate with the compiler to modify its data or generate new code programmatically.
  • Multilingual Support: Because the syntax is not hard-coded, the language supports multiple dialects based on spoken languages. Currently, Alusus officially supports both English and Arabic dialects.

Performance and Compilation

[edit]

Alusus is designed to bridge the gap between interpreted flexibility and compiled efficiency:

  • JIT and AOT Compilation: By default, Alusus utilizes Just-In-Time (JIT) compilation via LLVM, but it also supports Ahead-of-Time (AOT) compilation for generating standalone executables.
  • Low-Level Control: It provides direct access to pointers, manual memory management, and static typing, making it suitable for performance-critical tasks.

Syntax

[edit]

Alusus uses a procedural syntax that emphasizes clarity. Below is a basic "Hello World" example in the English dialect:

import "Srl/Console";
use Srl.Console;

function main () {
    print("Hello, World!\n");
}

main();

Ecosystem

[edit]

The Alusus ecosystem includes several specialized libraries for modern development:

  • WebPlatform: A framework for building web applications using WebAssembly.
  • Rows: An Object-Relational Mapping (ORM) library for database management.
  • Srl (Standard Runtime Library): Provides standard functions for I/O, string manipulation, and system interaction.

License

[edit]

Alusus is released under the Alusus Public License, an open-source license designed to maintain the integrity of the language core while allowing community contributions and library development.

References

[edit]
[edit]

Category:Programming languages Category:Multi-paradigm programming languages