Script:

Unparsing and parsing in Haskell

Headline

Lecture Parsing and unparsing as part of Course:Lambdas in Koblenz

Description

Various data structures, e.g., term- or tree-based representations, can be rendered as text by means of unparsing. (Unparsing is very similar to what's called pretty printing.) The other way around, the structure underlying some text can be recovered by means of parsing so that the result can be processed as a tree or another data structure. In both cases, we assume some syntax for the underlying a textual representation. This syntax can be also be made explicit in the form of a grammar. We put suitable Haskell combinator libraries to work for the implementation of unparsers and parsers.

Concepts

Technologies

Features

Contributions


Ralf Lämmel edited this article at Fri, 07 Jul 2023 18:13:53 +0200
Compare revisions Compare revisions

User contributions

    This user never has never made submissions.

    User edits

    Syntax for editing wiki

    For you are available next options:

    will make text bold.

    will make text italic.

    will make text underlined.

    will make text striked.

    will allow you to paste code headline into the page.

    will allow you to link into the page.

    will allow you to paste code with syntax highlight into the page. You will need to define used programming language.

    will allow you to paste image into the page.

    is list with bullets.

    is list with numbers.

    will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.

    will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.

    will allow your to insert code snippets from @worker.

    Syntax for editing wiki

    For you are available next options:

    will make text bold.

    will make text italic.

    will make text underlined.

    will make text striked.

    will allow you to paste code headline into the page.

    will allow you to link into the page.

    will allow you to paste code with syntax highlight into the page. You will need to define used programming language.

    will allow you to paste image into the page.

    is list with bullets.

    is list with numbers.

    will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.

    will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.

    will allow your to insert code snippets from @worker.