|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
BCE0088I'm working on a DSL and wanted to have methods named add_(entity). However, BCE0088 tells me that add_ prefix is reserved by the compiler. What naming convention to most Booers use instead of add_(entity)? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Boo Programming Language" group. To post to this group, send email to boolang@... To unsubscribe from this group, send email to boolang-unsubscribe@... For more options, visit this group at http://groups.google.com/group/boolang -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: BCE0088AddFoo
You can rewrite add_foo to AddFoo using a compiler step. Rhino DSL has a sample of this. On Mon, Jun 23, 2008 at 12:11 AM, Nathan Stott <nrstott@...> wrote:
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Boo Programming Language" group. To post to this group, send email to boolang@... To unsubscribe from this group, send email to boolang-unsubscribe@... For more options, visit this group at http://groups.google.com/group/boolang -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: BCE0088That's exactly what I'm doing, Ayende, but I must be doing it too late. On my base class I have AddFoo and I translate it from add_foo to AddFoo in a compiler step. However, I get that error. I'll look at your samples. Changing it to create_foo with CreateFoo or insert_foo with InsertFoo was a temporary fix, so I know my compiler transform is working properly, it must just be too late in the process. On Sun, Jun 22, 2008 at 4:17 PM, Ayende Rahien <ayende@...> wrote: > AddFoo > You can rewrite add_foo to AddFoo using a compiler step. > Rhino DSL has a sample of this. > > On Mon, Jun 23, 2008 at 12:11 AM, Nathan Stott <nrstott@...> wrote: >> >> I'm working on a DSL and wanted to have methods named add_(entity). >> However, BCE0088 tells me that add_ prefix is reserved by the >> compiler. What naming convention to most Booers use instead of >> add_(entity)? >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Boo Programming Language" group. To post to this group, send email to boolang@... To unsubscribe from this group, send email to boolang-unsubscribe@... For more options, visit this group at http://groups.google.com/group/boolang -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: BCE0088Yeah, I had it coming too late. Fixed it by moving it to 1 like in your example :). On Sun, Jun 22, 2008 at 4:23 PM, Nathan Stott <nrstott@...> wrote: > That's exactly what I'm doing, Ayende, but I must be doing it too > late. On my base class I have AddFoo and I translate it from add_foo > to AddFoo in a compiler step. However, I get that error. I'll look > at your samples. Changing it to create_foo with CreateFoo or > insert_foo with InsertFoo was a temporary fix, so I know my compiler > transform is working properly, it must just be too late in the > process. > > On Sun, Jun 22, 2008 at 4:17 PM, Ayende Rahien <ayende@...> wrote: >> AddFoo >> You can rewrite add_foo to AddFoo using a compiler step. >> Rhino DSL has a sample of this. >> >> On Mon, Jun 23, 2008 at 12:11 AM, Nathan Stott <nrstott@...> wrote: >>> >>> I'm working on a DSL and wanted to have methods named add_(entity). >>> However, BCE0088 tells me that add_ prefix is reserved by the >>> compiler. What naming convention to most Booers use instead of >>> add_(entity)? >>> >>> >> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Boo Programming Language" group. To post to this group, send email to boolang@... To unsubscribe from this group, send email to boolang-unsubscribe@... For more options, visit this group at http://groups.google.com/group/boolang -~----------~----~----~----~------~----~------~--~--- |
| Free Forum Powered by Nabble | Forum Help |