Skip to content

Releases: Infinite-Networker/CelestiaScript

CelestiaScript v1.0.0 โ€” First Stable Release ๐ŸŒŒโœจ

07 Mar 04:34
ef86e76

Choose a tag to compare

๐ŸŒŸ CelestiaScript v1.0.0

A cosmic programming language where stardust meets code.

Welcome to the first stable release of CelestiaScript โ€” a JavaScript-based language featuring thematic cosmic constructs that make your code resonate with the universe.


๐Ÿš€ What's Included

๐ŸŒ  Starlight Variables โ€” Starlight Variables.js

Declare immutable cosmic constants etched into the fabric of the universe.

const supernova_energy = 1.989e30 * 100;  // 100 solar masses
const constellation = "Orion";
const stars_visible = 7;

๐ŸŒ€ Nebula Operators โ€” Nebula Operators.js

Fuse data streams together like colliding stars using the stellar_fusion operator.

function stellar_fusion(data1, data2) {
    return data1.concat(data2);
}

๐ŸŒŒ Cosmic Functions โ€” Cosmic Functions.js

Define cosmic routines that paint constellations across the night sky.

function create_constellation(stars, name) { ... }
create_constellation(5, "Cassiopeia");

๐Ÿ•ณ๏ธ Event Horizon Loops โ€” Event Horizon Loops.js

Journey through cosmic epochs with temporal iteration loops.

for (let epoch = 0; epoch < 5; epoch++) {
    console.log("Journeying through cosmic epoch: " + epoch);
}

๐Ÿ”ฎ Astral Pointers โ€” Astral Pointers.js

Allocate memory across parallel universes and read from the Akashic records.

let cosmic_memory = allocate_memory(100);
cosmic_memory[42] = "The answer resonates through all realities";

โš›๏ธ Quantum Harmonics โ€” Quantum Harmonics.js

Compute values that exist in superposition across realities.

let resonance = (5 + 3) * (10 - 2);
console.log("Quantum resonance: " + resonance); // 64

๐Ÿ› Bug Fixes in this Release

This release ships with 14 bugs fixed across all 6 source files:

File Fixes
Starlight Variables.js Replaced invalid starlight_variable keyword with const
Nebula Operators.js Fixed invalid nebula_operator keyword โ†’ function; fixed array merge bug (+ โ†’ .concat()); fixed print() โ†’ console.log()
Cosmic Functions.js Fixed invalid cosmic_function keyword โ†’ function; fixed print() โ†’ console.log()
Event Horizon Loops.js Fixed invalid event_horizon_loop โ†’ for; fixed invalid cosmic_iterator โ†’ let; fixed print() โ†’ console.log()
Astral Pointers.js Fixed invalid astral_pointer keyword โ†’ let; added missing allocate_memory() function definition; fixed print() โ†’ console.log()
Quantum Harmonics.js Removed invalid quantum_harmonic qualifier; fixed print() โ†’ console.log()

โ–ถ๏ธ Running CelestiaScript

CelestiaScript runs on Node.js. Clone the repo and execute any module:

git clone https://github.com/Infinite-Networker/CelestiaScript.git
cd CelestiaScript
node "Quantum Harmonics.js"
node "Cosmic Functions.js"
node "Event Horizon Loops.js"
node "Astral Pointers.js"
node "Nebula Operators.js"

Write code that resonates with the universe! โœจ๐ŸŒŒ