Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext YAML Grammar(Need help to write YAML grammar using xText)
Xtext YAML Grammar [message #1823281] Tue, 24 March 2020 10:39 Go to next message
Ashok A is currently offline Ashok AFriend
Messages: 2
Registered: March 2020
Junior Member
Hi,

I am trying to build YAML grammar by using XText and there are no such documents to refer and develop the grammar.

Sample Yaml:

organization:
name: YAML
script: 4 = 4
rules:
name: rule001
fields: name=Test;phone=12345;email=abc@email.com;

I need some help to develop Xtext grammar based on above YAML structure.

Any advice is appreciated, Thanks !

Regards,
Ashok
Re: Xtext YAML Grammar [message #1823291 is a reply to message #1823281] Tue, 24 March 2020 11:59 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
This is best asked on the Xtext forum:

https://www.eclipse.org/forums/index.php/f/27/

But note that people will not just do your work for you.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[Xcore] Does Xcore support references to external Ecore models?
Next Topic:formatter generatestub problem
Goto Forum:
  


Current Time: Thu Apr 18 17:22:16 GMT 2024

Powered by FUDForum. Page generated in 0.02424 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top