|Parameterised Terminals? [message #1020423]
||Mon, 18 March 2013 06:13
| Paul Noffke
Registered: March 2013
Hi. I tried to post this message on Friday, but I got an "approval required due to moderated forum" message and it hasn't appeared (appologies to Christian if I'm not being patient enough!). So here goes again ...|
I'm writing a "template" based language similar to the "Template Language" described here: http://www.eclipse.org/Xtext/7languagesDoc.html#template. Only I'm using curly braces to enter expression mode, not French quotes.
But I now need to apply this to a JSON file and so my choice of curly braces is a bit of a pain.
My questions are:
1. Is it possible to have a parameterised terminal that would allow the user to choose which character pair to use to enter expression mode?
2. Or, alternatively, can the document partitioner be used to apply different gramars to different partitions in the document?
Powered by FUDForum
. Page generated in 0.01960 seconds