Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21bb5239c77cf4a

Jump to content

Unparser

From Wikipedia, the free encyclopedia
A parse tree, which generates "John hit the ball" when it is unparsed.

In computing, an unparser is a system that constructs a set of characters or image components from a given parse tree.[1][2]

An unparser is in effect the reverse of a traditional parser that takes a set of strings of characters and produces a parse tree. Unparsing generally involves the application of a specific set of rules to the parse tree as a "tree walk" takes place.[1]

Given that the tree may involve both textual and graphic elements, the unparser may have two separate modules, each of which handles the relevant components.[2] In such cases the "master unparser" looks up the "master unparse table" to determine if a given nested structure should be handled by one module, or the other.[2]

See also

[edit]

References

[edit]
  1. 1 2 Software Science and Engineering edited by Ikuo Nakata 1991 ISBN 981020776X page 168
  2. 1 2 3 Handbook of Graph Grammars and Computing by Graph Transformation: Applications, Languages and Tools by H. Ehrig, G. Engels 1999 ISBN 9810240201 pages 231-232