Summary : “Towards Context Sensitive Domain Specific Languages” by Laird & Barrett

The high cost of developing and integrating Domain-Specific Languages (DSLs) in an existing system narrows down its applicability in other domains. In this frequently changing world, the abstraction of a domain also undergoes change, which makes the maintainability of an existing DSL costly as it is change-susceptible. To overcome the problem attached to the integration, maintainability and adaptability of DSLs, the authors promote a dynamic interpretation model that allows the adaptation of the program’s execution without any syntactic change to the DSL with respect to the varying context by decoupling the semantics of the DSL from its implementation.

To support this dynamic interpretation model, the authors propose adopting a component based model where the generic interpreter coordinates with the different runtime components to interpret the language specification. The dynamic reconfiguration of these components with respect to the varying context allows for context-sensitive semantics of the same language specification. Thus, the model can be discerned as a function that takes three inputs in form of – a language definition, components and context information and outputs a dynamic configuration that reflects the specified context. By using polymorphic counterpart, a generic interpreter can reinterpret a language types of non-functional behavior can also be accommodated in the components’ implementation, thus conforming to a particular context to support these non-functional aspects. Therefore, it is evident that this model enables dynamic customization of the language semantics based on the context and various changing requirements which, in turn, makes the DSLs highly adaptable.

Continue reading “Summary : “Towards Context Sensitive Domain Specific Languages” by Laird & Barrett”

WCF Security: Which Binding to use in Internet based WCF Application?


Recently I did some diving in WCF bindings to figure out which binding to use in different kinds of scenario and what are the security implications of it for a Internet Based WCF service. As WCF concerned, definitely there are loads of options and choosing the right one in the right scenario left to us to decide. I am still continuing my research for a internet based WCF service and jot down my findings in flowchart as below .Please bear in mind that this flowchart is far from complete at this moment. I will update it as I go thru different other bindings and/or scenarios:



Links to original files: Binding.gif & WCF_BINDINGS.vsd

Please do let me know if any question come up or any new ideas to update this flowchart. Thanks for visiting the blog. I will be waiting for valuable feedback.