psOvBadge

PSScript

psOvIntro

psOvWhatTitle

psOvWhatLead

psOvFeat1Title

psOvFeat1Desc

psOvFeat2Title

psOvFeat2Desc

psOvFeat3Title

psOvFeat3Desc

psOvFeat4Title

psOvFeat4Desc

psOvHelloTitle

psOvHelloP1

minimal.pss
main {
    context$.log("Hello from PSScript.");
}

psOvHelloP2

main {
    var order = PSEntity("com.domain.commerce.Order");
    order.identifier("ORD-2024-001");
    order.val("customerId", param$["customerId"]);
    order.val("total", 149.99);
    order.text("status", "en", "Pending");
    data$.persist(order);

    output$["orderId"] = "ORD-2024-001";
    router$.allow("payment_connector");
}

rollback {
    context$.log("Order creation rolled back.");
}

psOvPipeTitle

psOvPipeP1

Lexer psOvPipeTokens
Parser psOvPipeAst
Compiler psOvPipeBytecode
VM psOvPipeEffects

psOvPipeP2

psOvStructTitle

psOvStructP1

psOvThBlockpsOvThRequiredpsOvThRuns
main { … } psOvYes psOvMainRuns
rollback { … } psOvOptional psOvRollbackRuns
psOvShorthandLabel psOvShorthand

psOvNextTitle

psOvNextP1

psNavLanguage psOvNextLangDesc
psNavSystem psOvNextSysDesc
psNavEntities psOvNextEntDesc
psNavExamples psOvNextExDesc