I followed the online tutorial and I have the impression that Text2UML can
convert only models that respect a specific grammar whose terminology is
quite close to UML class diagrams. Is Text2UML fixed to that specific
grammer? Or does Text2UML support the conversion of any grammer specified
with Xtext. Here is an example:

textual DSL grammer (taken from a Java Magazine):
-------------------------------------------------------------------

MyModel:
  (types+=Type)*;

Type:
  BusinessObject | Datatype;

BusinessObject:
  "bo" name=ID "{"
    (properties+=Property)*
  "}";

Property:
  type=TypeRef name=ID;

TypeRef:
  name=[Type|ID](multi?="[]")?;

An example Model (taken from a Java Magazine):
-------------------------------------------------------------------

bo Person {
  String name
  Address address
  Order[] orders
  PhoneNumber[] phones
}


Cheers,
Martin
-- 
View this message in context: 
http://www.nabble.com/Text2UML%3A-conversion-of-arbitrary-textual-DSLs-tp23312497s17564p23312497.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to