typst-0.9: test/typ/compiler/show-text-06.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/compiler/show-text-06.typ"
( line 2 , column 2 )
(Show
(Just (Literal (String "hello")))
(FuncExpr
[ NormalParam (Identifier "it") ]
(FuncCall
(FieldAccess
(Ident (Identifier "join"))
(FuncCall
(FieldAccess
(Ident (Identifier "map"))
(FuncCall
(FieldAccess
(Ident (Identifier "split"))
(FieldAccess
(Ident (Identifier "text")) (Ident (Identifier "it"))))
[ NormalArg (Literal (String "")) ]))
[ NormalArg (Ident (Identifier "upper")) ]))
[ NormalArg (Literal (String "|")) ])))
, SoftBreak
, Text "Oh,"
, Space
, Text "hello"
, Space
, Text "there!"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
Oh, ]),
text(body: [|H|E|L|L|O|]),
text(body: [ there!]),
parbreak() })