Application intent
Declare application type and selected technology stack in one place.
TYPE WEB;RAIQL is a declarative language for describing application structure, data models, APIs, access rules and delivery intent in a specification that can be parsed, validated and compiled.
CREATE APPLICATION "Commerce Core";
TYPE WEB;
USE STACK
FRONTEND NEXTJS,
BACKEND SPRING_BOOT,
DATABASE POSTGRESQL;
CREATE ENTITY Product (
id UUID PRIMARY,
name STRING REQUIRED,
price DECIMAL REQUIRED
);
CREATE API Product;
CREATE CRUD Product;
ADD AUTHENTICATION JWT;
GENERATE TESTS;
BUILD;Natural-language prompts are excellent for exploration, but software delivery needs stable structure. RAIQL captures the parts of an application that should be explicit—its type, technology stack, domain model, APIs, security intent and build actions.
The compiler turns that source into a normalized intermediate representation so downstream tools operate on a predictable contract instead of re-interpreting prose.
Understand the compiler →RAIQL keeps intent close to the product model while leaving implementation detail to the selected stack and generators.
Declare application type and selected technology stack in one place.
TYPE WEB;Define entities, fields, types, constraints and relationships.
CREATE ENTITY Product (...);Express CRUD and API generation intent against named entities.
CREATE API Product;Declare authentication mechanisms, roles and access rules.
ADD ROLE ADMIN, USER;Compile source into a stable JSON representation for tooling.
source → AST → IRAttach tests, build and deployment targets to the specification.
DEPLOY DOCKER;RAIQL syntax favors explicit statements and familiar data-model concepts. The same source can be read during planning, reviewed in pull requests and consumed by the compiler.
CREATE ENTITY Order (
id UUID PRIMARY,
customerId UUID REQUIRED,
total DECIMAL REQUIRED,
status STRING REQUIRED
);
RELATE Order.customerId TO Customer.id;
CREATE API Order;The documentation covers syntax, data types, entities, APIs, authentication, compiler behavior, IR shape and deployment statements.