GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — syntaxia-structura/roadmap.md at main · CursedPrograms/syntaxia-structura

Expand file tree

/

roadmap.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
391 lines (251 loc) · 9.24 KB
/

roadmap.md

Copy path

File metadata and controls

391 lines (251 loc) · 9.24 KB
Raw
Copy raw file
Download raw file
Edit and raw actions

Syntaxia & Structura – Complete Roadmap Phase 1: Language Design (Syntaxia) Goals

Syntaxia = the language developers write in.

Mandatory HTML-like tags for all code blocks.

Supports:

Python-style indentation for internal blocks

C-style operators: +, -, *, /, %, ==, !=, <, >, <=, >=, &, &&, |, ||, !

Math symbols: π (Pi), √ (square root)

Explicit type conversion: <>target_type==source_value<>

Script references/imports: <@>other_script.syn@</@>

Step 1.1: Tags Tag Purpose <@>filename.syn@</@> Import/using another Syntaxia script ... Define a function value Define variable ... Conditional block ... Loop block expression Output to console or UI <>target_type==value<> Explicit type conversion Step 1.2: Keywords & Operators

Control Flow: if, elif, else, while, for, break, continue

Variables & Functions: var, func, return

Logical / Bitwise Operators: &&, &, ||, |, !

Math Symbols: π, √

Conversions: <>target_type==value<>

Script Imports: <@>filename.syn@</@>

Step 1.3: Example Script <@>math_utils.syn@</@>

9.8 5 speed * time + 0.5 * 9.8 * time * time
<if condition="distance > 0 && speed > 0">
    <print>Distance traveled: distance</print>
</if>

<print>Half of π: π / 2</print>
<print>Square root of 49: √49</print>

<var name="distance_int" type="int"><~>int==distance<~></var>
<print>Distance as integer: distance_int</print>

Phase 2: Parser & AST Design (Structura) Step 2.1: Lexer

Recognizes:

Tags (, , , , , <@>, <~>)

Keywords (if, while, func, var)

Identifiers, literals, operators (+, -, *, /, &, &&, etc.)

Python-style indentation tokens

Step 2.2: Parser

Converts tokens → AST nodes

Handles tags as block nodes (mandatory)

Recognizes <~> as conversion node

Recognizes <@> as import node

Step 2.3: AST Example FuncNode(name="physics_demo") ├─ VarNode(name="speed", type="float", value=9.8) ├─ VarNode(name="time", type="float", value=5) ├─ VarNode(name="distance", type="float", value=BinaryOp(...)) ├─ IfNode(condition="distance > 0 && speed > 0") │ └─ PrintNode("Distance traveled: distance") ├─ PrintNode("Half of π: π / 2") ├─ PrintNode("Square root of 49: √49") ├─ VarNode(name="distance_int", type="int", value=ConversionNode(target="int", source="distance")) └─ PrintNode("Distance as integer: distance_int")

Phase 3: Interpreter (Structura MVP)

Walk AST nodes and execute:

→ assign value

→ output

/ → control flow

<~> → convert type

<@> → load referenced script functions/variables

Supports Python-style indentation inside mandatory tags

Example Execution structura run demo.syn

Outputs:

Distance traveled: 122.5 Half of π: 1.5708 Square root of 49: 7 Distance as integer: 122

Phase 4: Compiler / JIT

Convert AST → .NET IL → JIT → native machine code

Single-file EXE with embedded UI or console mode

CLI:

structura run demo.syn structura build demo.syn -o demo.exe

Phase 5: Standard Library & Extensions

Math: π, √, sin, cos, random, etc.

File IO: read/write text & binary

GUI: buttons, sliders, labels

Networking: optional HTTP/socket support

Phase 6: Tooling

Syntax highlighting for VS Code / JetBrains

REPL / live interpreter

Hot-reload for scripts

Templates: counters, simulations, interactive demos

Phase 7: Example Scripts (Neutral + Full Tags) Counter 0 Counter: i <>int==i + 1<>

Math Demo π / 4 Sine of angle: √angle

Phase 8: Deployment

Distribute Structura compiler/runtime

Users write .syn Syntaxia scripts with mandatory tags

Run interpreted or compiled EXE versions

GUI apps or console apps supported

Full support for imports, conversions, math symbols, and logical/C-style operators

✅ Summary Table Phase Output 1 Syntaxia language spec + mandatory tags + math + conversions + imports 2 Parser & AST with , , , , , <@>, <~> 3 Interpreter executes scripts with Python-style indentation inside tags 4 Compiler / JIT → EXE / .NET IL 5 Standard library & GUI API 6 IDE tooling & hot reload 7 Example scripts: counters, math demos, simulations 8 Deployment: console or GUI apps with imports, conversions, math symbols

<@> script imports

<~> type conversion

C-style operators and Python indentation

π & √ math symbols

Cross-platform .NET support

Syntaxia + Structura: Complete Roadmap Phase 1: Language Design (Syntaxia)

  1. Goals

Syntaxia = the developer-facing language.

Structured, readable, and modular.

Features:

Mandatory HTML-like tags for all blocks.

Python-style indentation inside tags.

C-style operators: +, -, *, /, %, ==, !=, <, >, <=, >=, &, &&, |, ||, !.

Math symbols: π (Pi), √ (square root).

Explicit type conversion: <>target_type==value<>.

Script imports: <@>filename.syn@</@> for modularity.

Compile to EXE or run interpreted with console/GUI support.

  1. Tags & Syntax Tag Purpose <@>filename.syn@</@> Import another script ... Define a function value Define a variable ... Conditional block ... Loop block ... Loop block over iterables expression Output to console or UI <>target_type==value<> Explicit type conversion
  2. Example Script <@>math_utils.syn@</@>
9.8 5 speed * time + 0.5 * 9.8 * time * time
<if condition="distance > 0 && speed > 0">
    <print>Distance traveled: distance</print>
</if>

<print>Half of π: π / 2</print>
<print>Square root of 49: √49</print>

<var name="distance_int" type="int"><~>int==distance<~></var>
<print>Distance as integer: distance_int</print>

Phase 2: Parser & AST (Structura)

  1. Lexer

Tokenizes:

Tags (, , , , , <@>, <~>).

Keywords (if, while, func, var, return).

Identifiers, literals, operators (+, -, *, /, &&, ||, etc.).

Python-style indentation tokens.

  1. Parser

Converts tokens → AST (Abstract Syntax Tree).

Each tag becomes a block node.

<~> → conversion node, <@> → import node.

Supports nesting: functions, loops, conditionals.

  1. AST Example FuncNode(name="physics_demo") ├─ VarNode(name="speed", type="float", value=9.8) ├─ VarNode(name="time", type="float", value=5) ├─ VarNode(name="distance", type="float", value=BinaryOp(...)) ├─ IfNode(condition="distance > 0 && speed > 0") │ └─ PrintNode("Distance traveled: distance") ├─ PrintNode("Half of π: π / 2") ├─ PrintNode("Square root of 49: √49") ├─ VarNode(name="distance_int", type="int", value=ConversionNode(target="int", source="distance")) └─ PrintNode("Distance as integer: distance_int")

Phase 3: Interpreter (Structura MVP)

Walks AST and executes nodes:

→ variable assignment

→ output

/ / → control flow

<~> → type conversion

<@> → loads referenced scripts/functions

Maintains Python-style indentation inside mandatory tags.

Supports console output initially.

Example Execution structura run demo.syn

Output:

Distance traveled: 122.5 Half of π: 1.5708 Square root of 49: 7 Distance as integer: 122

Phase 4: Compiler / JIT

Converts AST → .NET IL → JIT → native EXE.

Supports GUI applications or console apps.

CLI:

structura run demo.syn structura build demo.syn -o demo.exe

Phase 5: Standard Library & GUI Support

Math: π, √, sin, cos, random, log, etc.

File IO: read/write text & binary

GUI: buttons, sliders, labels, input fields

Networking: HTTP requests, sockets (optional)

Phase 6: Tooling

Syntax highlighting (VS Code, JetBrains)

REPL / live interpreter

Hot reload of scripts

Templates for demos: counters, simulations, interactive calculators

Phase 7: Example Scripts

  1. Counter
0 Counter: i <~>int==i + 1<~>
  1. Math Demo
π / 4 Sine of angle: √angle
  1. Click Game
0 Click count: clicks <~>int==clicks + 1<~> You won!

Phase 8: Deployment & Community

Distribute Structura compiler/interpreter.

Users write .syn scripts with mandatory tags.

Run interpreted or compiled EXE apps.

Build tutorials, example scripts, and standard library modules.

Engage community: forums, GitHub, demos, competitions.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.