packages feed

typst-0.7: test/typ/compute/foundations-16.out

--- parse tree ---
[ Code
    "typ/compute/foundations-16.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/compute/foundations-16.typ"
                                 ( line 1 , column 47 )
                                 (FuncCall
                                    (Ident (Identifier "repr"))
                                    [ NormalArg (Ident (Identifier "x")) ])
                             , Space
                             , Text "/"
                             , Text "="
                             , Space
                             , Code
                                 "typ/compute/foundations-16.typ"
                                 ( line 1 , column 59 )
                                 (FuncCall
                                    (Ident (Identifier "repr"))
                                    [ NormalArg (Ident (Identifier "y")) ])
                             , Text ")"
                             ])
                      )
                    ]
                ]))))
, SoftBreak
, Code
    "typ/compute/foundations-16.typ"
    ( line 2 , column 2 )
    (Show
       (Just (Ident (Identifier "raw")))
       (FuncExpr
          [ NormalParam (Identifier "it") ]
          (FuncCall
             (Ident (Identifier "text"))
             [ KeyValArg (Identifier "font") (Literal (String "PT Sans"))
             , NormalArg
                 (FuncCall
                    (Ident (Identifier "eval"))
                    [ NormalArg
                        (Plus
                           (Plus
                              (Literal (String "["))
                              (FieldAccess
                                 (Ident (Identifier "text")) (Ident (Identifier "it"))))
                           (Literal (String "]")))
                    ])
             ])))
, ParBreak
, Text "Interacting"
, SoftBreak
, RawBlock "" "#set text(blue)\nBlue #move(dy: -0.15em)[\127754]\n"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 parbreak(), 
                 text(body: [Interacting
]), 
                 text(body: { text(body: [
Blue ], 
                                   color: rgb(0%,45%,85%,100%)), 
                              move(body: text(body: [🌊], 
                                              color: rgb(0%,45%,85%,100%)), 
                                   dy: -0.15em), 
                              parbreak() }, 
                      font: "PT Sans"), 
                 parbreak() })