[LLVMdev] TableGen Operator Names

Chris Lattner clattner at apple.com
Tue Jan 11 17:39:22 PST 2011


On Jan 11, 2011, at 12:27 PM, David A. Greene wrote:

> Chris Lattner <clattner at apple.com> writes:
> 
>>> Would anyone object if I changed the syntax from !operator to &operator?
>> 
>> In the absence of a much better proposal, I'd prefer to just keep it the way it is.
> 
> Fair enough.  What would make a better proposal?  I'd like to keep the
> syntax concise.  I wonder if there is a way we could get rid of the
> "operator" entirely and just specify names, like:
> 
> strconcat("this", "that")
> 
> instead of 
> 
> !strconcat("this", "that")
> 
> What do you think?

That would be nice.  I haven't looked in years, but I thought that there was a parser ambiguity issue.

-Chris



More information about the llvm-dev mailing list