Headline

A program that accepts input according to some formal definition

Details

For instance, we may implement a context-free grammar for parsing, e.g., as a recursive descent parser without adding any semantic actions, though, and thereby obtain an acceptor for the language generated by the grammar. The acceptor behaves essentially as a predicate on given input: accept (true) or reject (false).

Illustration

See Technology:Parsec for (the illustration of) a combinator library for parsing (or "accepting").

See Contribution:haskellAcceptor for a contribution with a Language:Haskell-based acceptor.

Relationship

  • An acceptor is "degenerated" parser. (No parse trees are synthesized.)

Ralf Lämmel edited this article at Sat, 20 Jun 2020 13:13:48 +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.