C++ SCHX ยท rev 4

HSX Language Overview

HSX (HyperScript eXtended) is a full-stack language that compiles to JavaScript, with built-in frontend rendering, backend server capabilities, and CPGH framework integration.

HSX is a domain-specific language designed for rapid web development. It features a clean syntax that compiles to JavaScript, with native support for both frontend UI components and backend server logic.

{`// HSX Example - Full Stack in One File HSX: * name = "My App" * HSX: +T_H_E_M_E+ ""dark"" HSX: +D_I_V+ HSX: +H_1+ ""Welcome to HSX"" HSX: +T_X_T+ ""This renders on the frontend"" HSX: +B_A_I_T+ ""Click Me"" HSX: +/D_I_V+ // Backend API Route HSX: "/api/users" { "[ ]" = 200 }`} Frontend Tags +T_X_T+, +H_1+, +B_A_I_T+, +D_I_V+, +F_L_X+, +G_R_D+

, , , , ,

!LP! loops, @WHL@ while, C> conditions, F> if, E> else

HSX projects run inside Docker containers with the schoolgit/runner:v4-terminal image. The runtime automatically detects HSX projects and executes them with the HSX interpreter.

๐ŸŽฏ What is HSX?

๐Ÿš€ Key Features

๐Ÿ“ HSX Syntax Example

โšก HSX in Docker

Frontend Tags

Backend Commands

Control Flow