--- parse tree ---
[ Code
    "test/typ/text/shaping-01.typ"
    ( line 1 , column 2 )
    (Let
       (BasicBind (Just (Identifier "test")))
       (FuncExpr
          [ NormalParam (Identifier "x") , NormalParam (Identifier "y") ]
          (Block
             (CodeBlock
                [ If
                    [ ( Equals (Ident (Identifier "x")) (Ident (Identifier "y"))
                      , Block (Content [ Text "\9989" ])
                      )
                    , ( Literal (Boolean True)
                      , Block
                          (Content
                             [ Text "\10060"
                             , Text "("
                             , Code
                                 "test/typ/text/shaping-01.typ"
                                 ( line 1 , column 47 )
                                 (FuncCall
                                    (Ident (Identifier "repr"))
                                    [ NormalArg (Ident (Identifier "x")) ])
                             , Space
                             , Text "/"
                             , Text "="
                             , Space
                             , Code
                                 "test/typ/text/shaping-01.typ"
                                 ( line 1 , column 59 )
                                 (FuncCall
                                    (Ident (Identifier "repr"))
                                    [ NormalArg (Ident (Identifier "y")) ])
                             , Text ")"
                             ])
                      )
                    ]
                ]))))
, SoftBreak
, Comment
, Comment
, Code
    "test/typ/text/shaping-01.typ"
    ( line 4 , column 2 )
    (Set
       (Ident (Identifier "text"))
       [ KeyValArg (Identifier "dir") (Ident (Identifier "rtl"))
       , KeyValArg
           (Identifier "font") (Literal (String "Noto Serif Hebrew"))
       ])
, SoftBreak
, HardBreak
, Text "\1496"
, ParBreak
]
--- evaluated ---
{ text(body: [
]), 
  text(body: [
], 
       dir: rtl, 
       font: "Noto Serif Hebrew"), 
  linebreak(), 
  text(body: [ט], 
       dir: rtl, 
       font: "Noto Serif Hebrew"), 
  parbreak() }