Archives for Domain Specific Language
21 Dec by admin in Agility, All, Code Generation, Console, Domain Specific Language, Helper Function, Javascript, framework
A nice interactive editor to create Javascript Objects Fast (with or without Object Prototype)
As David Crockford puts it JavaScript's syntax looks like "C-like syntax, including curly braces and the clunky for statement". So here's a nice interactive editor to alleviate the clunly stuffs by allowing you to create a Javascript Object by just typing:
to-js Product
or for a more refined version (see at ...more»
18 Dec by admin in Agility, All, Best Practice, Console, Domain Specific Language, OOP, Professional Programming, UML, framework
A Polymorphic new instance function for Business User / Agile Tester to create sampling datas fast.
In an MVC framework, the Model is the most important entity, View is just kind of Filter on the Model and the Controller just kind of a necessary Evil. So we should be able to build and test the model before even the building phase in the traditional Software Life ...more»
[HOT] Rebol SQL/LINQ-like Text Database Engine: Blaze through millions of rows a second!
More and more people prefer textual open-format storage that's why Microsoft Office has turned to XML. But for simple structure, XML is too much verbose and cannot be easily queried by end-user that's why RebDB by Dobeash Software presented here may be a perfect solution (for simpler textual database usage ...more»
How to create an XML Document with the Easy ML Domain Specific Language (Youtube Video at the end)
Carl Sassenrath (Rebol) and Douglas Crockford (Json) don't like XML because it's too verbose. Still XML is now a standard and not being able to parse and create XML documents would be very annoying. Rebol has an internal build-tag function but it is far from enough to easily cope with ...more»
Easy yUML Dialect: UML Diagram Scripting Tool for Mere Mortals - Part IIa (Class Diagram)
My experience at work is that most people have difficulty to read UML Diagrams if they don't have an english sentence which translates them in layman's term. And it's even more difficult for them to draw the relations between entities especially when they have to show the type of relations ...more»
19 Aug by admin in All, Automation, Code Generation, Domain Specific Language, Internet, Professional Programming, UML
Easy yUML Dialect: UML Diagram Scripting Tool for Mere Mortals - Part I (Use Case Diagram)
yUML is an UML scripting tool from yUml.me (crafted by Tobin Harris) that is easy to use. Still it may be too cryptic for non-IT Business Analysts who would prefer to be able to write complete english sentences instead of mathematical-like symbology. Rebol can make it even easier with a ...more»
22 Jul by admin in Automation, Beginner, Code Generation, Domain Specific Language, OOP, Professional Programming, UML
Automate YUml Diagrams with Rebol
YUML.me (currently in Beta version) is an amazing UML Service which allows you to create Unified Modeling Language diagrams very easily using a DSL of their own. Here's how you can take advantage of this online tool with Rebol:
The example script below will request an yUML Use Case Diagram (see ...more»
18 Jul by admin in All, C#, Code Generation, Domain Specific Language, Expert, Java, OOP, Parsing, Professional Programming
Create your own DSL for Java or C# (part 4): adding a Semantic Layer
According to Martin Fowler:
In the context of a DSL, a semantic model is an in-memory representation, usually an object model, of the same subject that the DSL describes. The Semantic Model increases the flexibility in parsing and also in execution. You can execute the Semantic Model directly or you can ...more»
Tags: C#, Code Generation, dsl, Java, Martin Fowler, Model, OOP, Parsing
3 Jul by admin in All, Automation, Code Generation, Domain Specific Language, Java, Professional Programming
Create your own Java Code Generator with DSL in 15 minutes [part 3]
Are you fed up with launching your heavy-weighted java eclipse IDE when you just need to create a quick java class to do some testing (by the way if someone knows an equivalent of Snippet Compiler but for Java that would interest me) ? Don't you miss your simple notepad ...more»
27 Jun by admin in All, Automation, C#, Code Generation, Domain Specific Language, Hot, OOP, Parsing, Professional Programming
Create your own C# Code Generator with DSL in 15 minutes [part 2]
Code Generation is a big trend from Code Snippet Generators to Full-Blown Software Factories. Our idea here is to use Domain Specific Language to generate Code Snippets like Visual Studio can do but more flexibly and more agnostically (you are not stuck with .NET languages or obliged to buy Visual ...more»







![Create your own Java Code Generator with DSL in 15 minutes [part 3]](http://reboltutorial.com/files/2009/07/java_code_generation.jpg )


No Comment