<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>10734</bug_id>
          
          <creation_ts>2010-09-24 20:46:33 +0000</creation_ts>
          <short_desc>Create LR Grammar</short_desc>
          <delta_ts>2017-07-31 09:12:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>WebIDL</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kevin Lindsey">kevin</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>annevk</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
    
    <cc>tobie.langel</cc>
    
    <cc>wolfgangkeller</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>39314</commentid>
    <comment_count>0</comment_count>
    <who name="Kevin Lindsey">kevin</who>
    <bug_when>2010-09-24 20:46:33 +0000</bug_when>
    <thetext>This is a request to include an LR grammar of WebIDL in addition to the current LL grammar. Having an LR grammar would make it easier to convert for parser generators and is more conducive to building ASTs during the parse.

Thanks,
Kevin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40927</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2010-10-11 12:38:41 +0000</bug_when>
    <thetext>Why two ways of defining IDL fragments? That seems far worse than having just one. And it seems unlikely we will change the existing one a lot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40933</commentid>
    <comment_count>2</comment_count>
    <who name="Kevin Lindsey">kevin</who>
    <bug_when>2010-10-11 19:21:47 +0000</bug_when>
    <thetext>Anne,

I was chatting with Cameron about this and he suggested I add a bug entry for it. Basically, an LR grammar is typically better suited for generating ASTs than LL grammars. My preference would be to have a single grammar, as well, and for that to be an LR grammar, but I&apos;m biased.

-Kevin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48686</commentid>
    <comment_count>3</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2011-05-23 02:55:36 +0000</bug_when>
    <thetext>Not necessary for now, so maybe in v2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50454</commentid>
    <comment_count>4</comment_count>
    <who name="Arthur Barstow">art.barstow</who>
    <bug_when>2011-06-29 16:03:49 +0000</bug_when>
    <thetext>I think this bug should be Resolved now as &quot;Later&quot; and considered an input for v2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128811</commentid>
    <comment_count>5</comment_count>
    <who name="Tobie Langel">tobie.langel</who>
    <bug_when>2017-07-31 09:12:07 +0000</bug_when>
    <thetext>Maintaining two grammars is a bad idea, so we&apos;d want to do a complete switch from one grammar to the other. There are now numerous consumers of the current LL(1) grammar, so we&apos;d need buy-in from them before organizing such a move.

If someone&apos;s ready to do this work, I&apos;d suggest starting a conversation on public-script-coord@w3.org before moving this to a GitHub issue, then a pull request.

In the meantime, I&apos;ll close this as wontfix.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>