compile-time regex redux

Andrei Alexandrescu (See Website For Email) SeeWebsiteForEmail at erdani.org
Thu Feb 8 01:27:44 PST 2007


kris wrote:
> Robby wrote:
>>
>>>>
>>>> Walter gave another good case study: Ruby on Rails. The success of 
>>>> Ruby on Rails has a lot to do with its ability to express 
>>>> abstractions that were a complete mess to deal with in concreteland.
>>>>
>>>
>>> Let look at that case study, then. The /real/ power in RoR comes from 
>>> being able to dynamically bind via rich reflection. What we're 
>>> talking about here does not add full reflection to D. Neither does it 
>>> assist in getting D modules dynamically loaded at runtime.
>>>
>>> As it turns out, some of us are actively looking /specifically/ at 
>>> the killer RoR for D; far beyond what RoR does. Oddly enough, our 
>>> working name for it is - DeRailed -
>>>
>>> We have solid notions of what's needed; and several of us have build 
>>> related platforms in the past. But this topic, at face value, doesn't 
>>> appear to help us in any notable fashion. Perhaps you can expain this 
>>> further?
>>>
>>> - Kris
>>
>>
>> I'm having a hard time putting together the association with RoR, 
>> DSL's and the regex feature together. Perhaps they're completely 
>> separate.
> 
> Me too. I failed to see any connection that would measurably assist 
> DeRailed. And the question above was sadly left unaddressed.

It's very simple. A scheme based on compile-time in(tro)spection has 
superior and automatic means to detect, say, mismatches between an 
expected database schema and the runtime reality.


Andrei



More information about the Digitalmars-d mailing list