skaller wrote:
>> This we know exactly where things come from, but it's very noisy. What 
>> about optionally named ends? 
>
> If you have optional named ends, they should do multiple
> endings I think. So you can do
>
> module Act
>   class Base
>     def clone
>       stuff
> end Act
>
> The problem with this is that it isn't LALR(1). Endings can't
> be optional. They're either required or disallowed:
>
>       let .. in .. // no end
>       match .. endmatch // an end

Would it be LALR if we had a mandatory "end" but an optional thing 
after, like these?

module Act
  class Base
    def clone
      stuff
    end
  end
end

module Act
  class Base
    def clone
      stuff
    end
  end Base
end

module Act
  class Base
    def clone
      stuff
    end
  end
end Act


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to