Re: dot pre-processor
- Posted by jeremy (admin) Mar 26, 2009
- 817 views
I'll risk the flames to make a comment, using Jeremy's words.
"I was not aware that we are bound by our lineage, that's a new rule to me in developing a language."
"I certainly like the syntax, but we need to make some OO plans before hardwiring anything in."
I like the syntax also. I just question if it must be connected to OOP. Grandaddy MicroS did it first, not necessarily best.
It's not connected to OOP, however, if OOP comes to Euphoria, it may use a similar syntax, thus causing a conflict, that's all. I think we need discuss the hard details of OOP and Euphoria before making the interpreter do anything remotely OOP like. For instance, DOT syntax does this:
sequence name = "John" ? name.length() -- Or enum FirstName, LastName sequence person = { "John", "Doe" } printf(1, "Hello, %s! Your last name is %s?", { person.FirstName, person.LastName })
Both of those could very much conflict with OOP, if it were to come to Euphoria.
Jeremy