Menu

#27 parse quantifiers from source text

1.0
open
nobody
None
2024-06-04
2024-06-04
No

Following problems arise when trying to run the HTML parser on quantifiers:

  • several attributes become one if they don't differ, or only in letter case
  • cannot tell the difference between pre-transplated attributes and equals-sign-recovered attributes in edge cases like {x={x=7}} (current version does pre-transplate by putting the whole expression into the value, including the name and the equals sign; detecting whether it happened in transplation phase is impossible)
  • whitespace recovery (when syntax is incorrect because there is a space in the brace) is harder to do if you need to consider consecutive attributes

Discussion

  • Csaba Skrabák

    Csaba Skrabák - 2024-06-04
    • summary: öparse quantifiers from source text --> parse quantifiers from source text
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,5 @@
    -    Following problems arise when trying to run the HTML parser on quantifiers:
    + Following problems arise when trying to run the HTML parser on quantifiers:
    
    -    * several attributes become one if they don't differ, or only in letter case
    -    * cannot tell the difference between pre-transplated attributes and equals-sign-recovered attributes in edge cases like `{x={x=7}}` (current version does pre-transplate by putting the whole expression into the value, including the name and the equals sign; detecting whether it happened in transplation phase is impossible)
    +   * several attributes become one if they don't differ, or only in letter case
    +   * cannot tell the difference between pre-transplated attributes and equals-sign-recovered attributes in edge cases like `{x={x=7}}` (current version does pre-transplate by putting the whole expression into the value, including the name and the equals sign; detecting whether it happened in transplation phase is impossible)
         * whitespace recovery (when syntax is incorrect because there is a space in the brace) is harder to do if you need to consider consecutive attributes
    
     
  • Csaba Skrabák

    Csaba Skrabák - 2024-06-04
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -2,4 +2,4 @@
    
        * several attributes become one if they don't differ, or only in letter case
        * cannot tell the difference between pre-transplated attributes and equals-sign-recovered attributes in edge cases like `{x={x=7}}` (current version does pre-transplate by putting the whole expression into the value, including the name and the equals sign; detecting whether it happened in transplation phase is impossible)
    -    * whitespace recovery (when syntax is incorrect because there is a space in the brace) is harder to do if you need to consider consecutive attributes
    +   * whitespace recovery (when syntax is incorrect because there is a space in the brace) is harder to do if you need to consider consecutive attributes
    
     

Log in to post a comment.