Please sign in to comment.
got multiple lite port views in a single html page. hovering over a rule in the parse tree should hilite the reduced text. It is broken, well, never worked. removed p6 presentation draft that I dumped in a hurry for eiro
- Loading branch information...
Showing with 251 additions and 852 deletions.
|@@ -1,13 +1,31 @@|
|+<title>Code Hiliter Early </title>|
|<link rel="stylesheet" type="text/css" href="css/zbrew.css"/>|
|- <div id="viewport">|
|+ <p>A lite portview has three panes when it is expanded. The lower pane contains code and the two|
|+ top panes contain information about how that code is parsed. When you hover over the code the information displayed over the two top panes changes, as well as the dynamic highlighting in the code pane. We say that the code hovered over is current. The information and hightlighting gives a lot information on how the current code is parsed.</p>|
|+ <p>Dynamic higlighting in the code pane : the current operator is displayed with a reddish background. If it has operands it is in a blueish background. Whatever the term operator and operands denote here depends very much on the language and the context. You will figure it out.</p>|
|+ <p>The middle pane displays the rule used to recognize the current code.</p>|
|+ <p>the top pane is called the parse path paned. Going from left to right, it shows the path in the parse tree to reach the said rule. When a sequence of rules reduces to the same string it is show top to bottom instead of left to|
|+ <p>Currently the code pane is readonly.</p>|
|+<div class="text">The current page contains two lite portviews. The shows the parsing of a simple arithmetic expression</div>|
|+<div class="text">The second portview shows how json is parsed used a Perl 6 grammar. We note a problem when hovering over 666. I don't know how to select a rule after its longname. So using the short name, there is ambiguity and we|
|+peek the wrong rule</div>|
Oops, something went wrong.