timo
timo
I put links to the RSS feeds in the menu that you can get with the hamburger menu button on the side (or at the top for tablets or phones)....
this also goes for "find the total number of fields (words) on all lines" example.
I added a bunch of debug output so you can see a little bit more clearly what's going on: full execution with some unnecessary extra output ``` raku -MXML -e...
I would not call it a pointer. replace goes through the children on the node you call .replace on, finds the spot where the node you pass as first argument...
``` raku -MXML -e 'my $xml=open-xml($*ARGFILES.Str); for ^$xml.root.nodes.elems { say "$_:"; say $xml.root[$_].^name.indent(4); say $xml.root[$_].gist.raku; }' exemel_text.xml 0: XML::Text "\n " 1: XML::Element "text1" 2: XML::Text "\n " 3: XML::Element...
https://www.w3.org/TR/2008/REC-xml-20081126/#sec-white-space > In editing XML documents, it is often convenient to use "white space" (spaces, tabs, and blank lines) to set apart the markup for greater readability. Such white space...
While looking into #68 I found that the `?` and `?` allow catastrophic backtracking behaviour when the document in total is not well-formed. I'm not sure if changing that makes...
Worked on this over in #73 a little bit.
the problem i see is that we sometimes have to remember stuff from the last leaf of the tree so far, and having state in the grammar's class is not...
FWIW, i can tear out the whole suggestion mechanism and it'll still give a much better error message as before, i.e. it'll tell you that an indent was wrong, and...