packages feed

typst-0.7: test/typ/text/lang-00.out

--- parse tree ---
[ Code
    "typ/text/lang-00.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/text/lang-00.typ"
                                 ( line 1 , column 47 )
                                 (FuncCall
                                    (Ident (Identifier "repr"))
                                    [ NormalArg (Ident (Identifier "x")) ])
                             , Space
                             , Text "/"
                             , Text "="
                             , Space
                             , Code
                                 "typ/text/lang-00.typ"
                                 ( line 1 , column 59 )
                                 (FuncCall
                                    (Ident (Identifier "repr"))
                                    [ NormalArg (Ident (Identifier "y")) ])
                             , Text ")"
                             ])
                      )
                    ]
                ]))))
, SoftBreak
, Comment
, Code
    "typ/text/lang-00.typ"
    ( line 3 , column 2 )
    (Set
       (Ident (Identifier "text"))
       [ KeyValArg (Identifier "hyphenate") (Literal (Boolean True)) ])
, SoftBreak
, Code
    "typ/text/lang-00.typ"
    ( line 4 , column 2 )
    (FuncCall
       (Ident (Identifier "grid"))
       [ KeyValArg
           (Identifier "columns")
           (Times
              (Literal (Int 2)) (Array [ Reg (Literal (Numeric 20.0 Pt)) ]))
       , KeyValArg (Identifier "gutter") (Literal (Numeric 1.0 Fr))
       , NormalArg
           (FuncCall
              (Ident (Identifier "text"))
              [ KeyValArg (Identifier "lang") (Literal (String "en"))
              , BlockArg [ Quote '"' , Text "Eingabeaufforderung" , Quote '"' ]
              ])
       , NormalArg
           (FuncCall
              (Ident (Identifier "text"))
              [ KeyValArg (Identifier "lang") (Literal (String "de"))
              , BlockArg [ Quote '"' , Text "Eingabeaufforderung" , Quote '"' ]
              ])
       ])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 text(body: [
], 
                      hyphenate: true), 
                 grid(children: (text(body: text(body: [“Eingabeaufforderung”], 
                                                 hyphenate: true), 
                                      hyphenate: true, 
                                      lang: "en"), 
                                 text(body: text(body: [“Eingabeaufforderung”], 
                                                 hyphenate: true), 
                                      hyphenate: true, 
                                      lang: "de")), 
                      columns: (20.0pt, 20.0pt), 
                      gutter: 1.0fr), 
                 parbreak() })