ASPL لباتASPL 0.7.0

Search documentation

Search starts with current English documentation · ASPL 0.7.0

Enter a complete name such as read_line, or words about a topic.

    العربية
    Source files

    Open one UTF-8 .aspl or .لبات file, up to 1 MiB, in a new draft. It stays in this browser and does not run automatically.

    Playground input in the browser

    ASPL 0.7.0 · Current release

    Send a line, close input, stop execution, and retain an unsent draft.

    On this page

    Input request

    When a program reaches read_line, the playground shows a waiting state, a one-line field, and Send, Close input, and Stop. Send sends the current draft only for the displayed request and clears it after the worker acknowledges it. Close input sends EOF without sending the draft, which remains visibly unsent. Stop cancels the run and is not EOF.

    Browser and native · ASPL 0.7.0 · English source

    Execution: Browser and native · ASPL 0.7.0

    Prerequisites:
    • No prior knowledge is required to open and check it.

    Input lines: ["Mina"]

    fn start_main() -> i64 {
        print("ما اسمك؟ ");
        let name = read_line();
        print("مرحبا ");
        print(name);
        print("\n");
        return 0;
    }
    
    Download input.aspl

    Expected outcomes
    {
      "browser": {
        "check": "success",
        "class": "success",
        "output": "ما اسمك؟ مرحبا Mina\n",
        "processStatus": 0
      },
      "native": {
        "check": 0,
        "status": 0,
        "output": "ما اسمك؟ مرحبا Mina\n"
      }
    }

    Input draft

    The field rejects multiline paste and CR or LF, and shows the byte limit. Draft bytes and digits stay as entered and do not pass through the source editor. Input echoes are separate interface records, not program output or part of its output limit.

    Deadline and draft state

    The execution limit measures accumulated active time only. Time spent waiting for input does not consume it. Auto, LTR, and RTL keep output bytes, the draft, source snapshot, and request identity, changing display direction and alignment only.

    Leaving Home or switching source drafts ends the request. Returning restores document-held data and checks source; it does not restart execution or resend input. Refresh starts without previous output or input. Stop retains output and the unsent input draft. See execution limits and line input.

    Release scope and related reading

    This page describes ASPL 0.7.0. The linked MVP text is a historical record, not a complete description of current extensions.

    Interactive line input extends the MVP browser contract. This page covers input; virtual run files are separate temporary data.

    Browse pages