I can't understand a goal of support for "any arbitrary grammar". What should
be the output?
Now it's UML and it's really good to have textual representation of a model.


Bak Attila wrote:
> 
> Hi,
> 
> Yes, the text2uml follows a specific grammar that is close to uml. I do
> not know how it would be possible to convert from an "arbitrary" grammar,
> but i would also be interested in the solution.
> 
> Regards,
> attila
> 
> 
> 
> Martin Homik wrote:
>> 
>> 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-tp23312497s17564p23431743.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to