Skip to content
SPEC №01EXT.HUB
Syntaxeon icon

Syntaxeon

An esoteric programming language where code is written as poetic prose.

Syntaxeon · Interface & RuntimeESOLANG
scroll://songs-of-syntaxeon/specification-v1.1
🎵 LYRICAL SPECIFICATION
✦SOURCE VERSE (Bardic Lyric)
Let there be a Scroll named Chamber:
    # Declare variables as elemental tides
    Sketch count the vast ocean of 42.0
    Swear isActive so

    Begin the Verse invoke:
        Sing "The ritual has begun."
        If the tale of isActive is true:
            Offer count in reply
    End of Verse
End of Scroll
COMPILED EXECUTION STRUCTURE
ModuleScroll"Chamber"
VarDecl count: double = 42.0
VarDecl isActive: bool = true
FuncVerse invoke() -> double
Bardic Exception Hierarchy:NotRhythmVerseError: "The rhythm of the verse has been disrupted."
Syntaxeon inspection and runtime surface within active development workflows.

The Lyrical Language of Logic & Sorcery

Conventional programming languages treat source code as dry imperative syntax designed to satisfy compilers. Syntaxeon (Songs of Syntaxeon) subverts this convention to explore the expressive power of natural prose and poetic cadence as an executable computational medium — currently at the concept and language-design stage, with no compiler shipped yet.

In Syntaxeon, lines of code are written as verses, programs are composed as songs, and modules are declared as scrolls. Logic flows through elemental declarations, assertions, and bardic tokens.

“Where lines are verses, code is song, and each construct whispers meaning into the void.”

Lyrical Grammar & Elemental Foundations

Rather than relying on sterile keywords, Syntaxeon assigns narrative syntax to core computational types:

  • Character Runes (char): Let [var] be 'x' or Mark [var] the rune 'x'
  • Integer Counts (int / short): Speak [var] a number [value] or Tell [var] of the count [value]
  • Floating Streams (float / double): Draw [var] the stream of [val] or Sketch [var] the vast ocean of [val]
  • Boolean Assertions (bool): Tell me [var] true or Swear [var] so / Swear [var] not
  • Binary Sparks (bit): Strike [var] one spark or None at all [var]
  • Immutable Constants: Etch in stone [CONST] as [value] or By decree, [CONST] is [value]

Bardic Structure: Scrolls, Songs & Verses

Programs organize modularity and control flow through musical metaphors:

  • Scrolls (Modules): Bounded compilation units declared with Let there be a Scroll named [MODULE]: and sealed with End of Scroll.
  • Songs (Classes): Object hierarchies with inheritance declared via Let [Song] inherit from [ParentSong]:.
  • Verses (Functions): Executable routines defined with Begin the Verse [NAME]: and returning results through Offer [value] in reply.
  • Narrative Control Flow: Conditionals structured as If the tale of [bool] is true: and loops framed as For every step in the saga: [value].

Bardic Exception Hierarchy

When runtime discord occurs, Syntaxeon handles errors through a distinct bardic exception taxonomy:

  • SyntaxeonRuntimeError: General execution fault in the Syntaxeon realm.
  • NotRhythmVerseError: Emitted when verse rhythm or meter is disrupted.
  • DiscordantTruthError: Triggered when assertions evaluate to unresolved contradiction.
  • CircleOfMadnessError: Infinite recursion or unbounded cyclical execution.
  • ForgottenNameError: Unresolved symbol or variable identifier.
OFFICIAL DISTRIBUTION

Availability Ecosystem

Syntaxeon is published and available across the following development environments.

SOURCE CODE

GitHub Repository

View Repository