Syntax customization & overloading
Posted: Sat Feb 16, 2008 11:00 am
Hi Chuck, et al. It's great to see some independent work being done on languages. We can't leave everything up to the big guys.
My question is concerning what I call syntax customization, but it may have a more proper name.
One of the things I loved about C++ was coming up with libraries and tools that really extended the language in ways that were not originally intended, by use of especially operator overloading and macros. Sadly, when I moved to C# I was quite disappointed at the limitations put on operator overloading, as things like dot could not be overloaded.
I am just curious to what degree you envision Cobra to be customizable by end developers (i.e. without writing "language extensions" or some such).
Thanks,
Logan
My question is concerning what I call syntax customization, but it may have a more proper name.
One of the things I loved about C++ was coming up with libraries and tools that really extended the language in ways that were not originally intended, by use of especially operator overloading and macros. Sadly, when I moved to C# I was quite disappointed at the limitations put on operator overloading, as things like dot could not be overloaded.
I am just curious to what degree you envision Cobra to be customizable by end developers (i.e. without writing "language extensions" or some such).
Thanks,
Logan