packages feed

typst-0.7: test/skip/compiler/show-node-05.out

--- parse tree ---
[ Code
    "typ/compiler/show-node-05.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/show-node-05.typ"
                                 ( line 1 , column 47 )
                                 (FuncCall
                                    (Ident (Identifier "repr"))
                                    [ NormalArg (Ident (Identifier "x")) ])
                             , Space
                             , Text "/"
                             , Text "="
                             , Space
                             , Code
                                 "typ/compiler/show-node-05.typ"
                                 ( line 1 , column 59 )
                                 (FuncCall
                                    (Ident (Identifier "repr"))
                                    [ NormalArg (Ident (Identifier "y")) ])
                             , Text ")"
                             ])
                      )
                    ]
                ]))))
, SoftBreak
, Comment
, Code
    "typ/compiler/show-node-05.typ"
    ( line 3 , column 2 )
    (Block
       (CodeBlock
          [ Let
              (BasicBind (Just (Identifier "world")))
              (Block (Content [ Space , Text "World" , Space ]))
          , Show (Just (Literal (String "W"))) (Ident (Identifier "strong"))
          , Ident (Identifier "world")
          , Block
              (CodeBlock
                 [ Set
                     (Ident (Identifier "text"))
                     [ NormalArg (Ident (Identifier "blue")) ]
                 , Show
                     Nothing
                     (FuncExpr
                        [ NormalParam (Identifier "it") ]
                        (Block
                           (CodeBlock
                              [ Show (Just (Literal (String "o"))) (Literal (String "\216"))
                              , Ident (Identifier "it")
                              ])))
                 , Ident (Identifier "world")
                 ])
          , Ident (Identifier "world")
          ]))
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 text(body: { [ ], 
                              strong(body: [W]), 
                              [orld ] }), 
                 parbreak(), 
                 text(body: { [ ], 
                              strong(body: text(body: [W],
                                                color: rgb(0%,45%,85%,100%))), 
                              text(body: [Ø],
                                   color: rgb(0%,45%,85%,100%)), 
                              text(body: [orld ],
                                   color: rgb(0%,45%,85%,100%))}), 
                 text(body: { [ ], 
                              strong(body: [W]), 
                              [orld ] }) })