
Sorry, I am not sure how this relates to my thought? I want a parsing tool.
On Wed, Apr 17, 2019 at 8:11 PM Vanessa McHale
I would use Dhall: https://dhall-lang.org/
(I can answer questions but the documentation is reasonably good)
Cheers, Vanessa
On 4/17/19 4:29 AM, Magicloud Magiclouds wrote:
Hi,
I saw this function in some web tools, pretty useful when parsing log or so. So I wonder if Haskell has similar libs already.
Sample:
Input line: "2019/04/17 17:27 User magicloud runs command ls."
Pattern: "${year}/${month}/${day} ${hour}:${minute} User ${username} runs command ${command}."
Output: toList [ ("year", "2019"), ("month", "04") , etc ]
-- 竹密岂妨流水过 山高哪阻野云飞
And for G+, please use magiclouds#gmail.com. _______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
-- 竹密岂妨流水过 山高哪阻野云飞 And for G+, please use magiclouds#gmail.com.