packages feed

typst-0.7: test/typ/compiler/ops-07.out

--- parse tree ---
[ Code
    "typ/compiler/ops-07.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
                                 "typ/compiler/ops-07.typ"
                                 ( line 1 , column 47 )
                                 (FuncCall
                                    (Ident (Identifier "repr"))
                                    [ NormalArg (Ident (Identifier "x")) ])
                             , Space
                             , Text "/"
                             , Text "="
                             , Space
                             , Code
                                 "typ/compiler/ops-07.typ"
                                 ( line 1 , column 59 )
                                 (FuncCall
                                    (Ident (Identifier "repr"))
                                    [ NormalArg (Ident (Identifier "y")) ])
                             , Text ")"
                             ])
                      )
                    ]
                ]))))
, SoftBreak
, Comment
, SoftBreak
, Comment
, Code
    "typ/compiler/ops-07.typ"
    ( line 5 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg (Not (Literal (Boolean True)))
       , NormalArg (Literal (Boolean False))
       ])
, SoftBreak
, Code
    "typ/compiler/ops-07.typ"
    ( line 6 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg (Not (Literal (Boolean False)))
       , NormalArg (Literal (Boolean True))
       ])
, ParBreak
, Comment
, Code
    "typ/compiler/ops-07.typ"
    ( line 9 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (And (Literal (Boolean False)) (Literal (Boolean False)))
       , NormalArg (Literal (Boolean False))
       ])
, SoftBreak
, Code
    "typ/compiler/ops-07.typ"
    ( line 10 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (And (Literal (Boolean False)) (Literal (Boolean True)))
       , NormalArg (Literal (Boolean False))
       ])
, SoftBreak
, Code
    "typ/compiler/ops-07.typ"
    ( line 11 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (And (Literal (Boolean True)) (Literal (Boolean False)))
       , NormalArg (Literal (Boolean False))
       ])
, SoftBreak
, Code
    "typ/compiler/ops-07.typ"
    ( line 12 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg (And (Literal (Boolean True)) (Literal (Boolean True)))
       , NormalArg (Literal (Boolean True))
       ])
, ParBreak
, Comment
, Code
    "typ/compiler/ops-07.typ"
    ( line 15 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (Or (Literal (Boolean False)) (Literal (Boolean False)))
       , NormalArg (Literal (Boolean False))
       ])
, SoftBreak
, Code
    "typ/compiler/ops-07.typ"
    ( line 16 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg (Or (Literal (Boolean False)) (Literal (Boolean True)))
       , NormalArg (Literal (Boolean True))
       ])
, SoftBreak
, Code
    "typ/compiler/ops-07.typ"
    ( line 17 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg (Or (Literal (Boolean True)) (Literal (Boolean False)))
       , NormalArg (Literal (Boolean True))
       ])
, SoftBreak
, Code
    "typ/compiler/ops-07.typ"
    ( line 18 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg (Or (Literal (Boolean True)) (Literal (Boolean True)))
       , NormalArg (Literal (Boolean True))
       ])
, ParBreak
, Comment
, Code
    "typ/compiler/ops-07.typ"
    ( line 21 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (And (Literal (Boolean False)) (Ident (Identifier "dont-care")))
       , NormalArg (Literal (Boolean False))
       ])
, SoftBreak
, Code
    "typ/compiler/ops-07.typ"
    ( line 22 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (Or (Literal (Boolean True)) (Ident (Identifier "dont-care")))
       , NormalArg (Literal (Boolean True))
       ])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 text(body: [
]), 
                 text(body: [✅]), 
                 text(body: [
]), 
                 text(body: [✅]), 
                 parbreak(), 
                 text(body: [✅]), 
                 text(body: [
]), 
                 text(body: [✅]), 
                 text(body: [
]), 
                 text(body: [✅]), 
                 text(body: [
]), 
                 text(body: [✅]), 
                 parbreak(), 
                 text(body: [✅]), 
                 text(body: [
]), 
                 text(body: [✅]), 
                 text(body: [
]), 
                 text(body: [✅]), 
                 text(body: [
]), 
                 text(body: [✅]), 
                 parbreak(), 
                 text(body: [✅]), 
                 text(body: [
]), 
                 text(body: [✅]), 
                 parbreak() })