Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Multiplexing Xtext lexers?
Multiplexing Xtext lexers? [message #1504482] Tue, 09 December 2014 09:43 Go to next message
Torkild Resheim is currently offline Torkild ResheimFriend
Messages: 16
Registered: July 2009
Junior Member
Hi,

I wondering if someone could point me in the right direction. To sum it
up I want to mix a simple DSL with MarkDown and LaTeX math. The LaTeX
code is always contained within the MarkDown code and the MarkDown code
is always within the DSL code. There are special tokens indicating the
start and end of such blocks. When solving a problem like this earlier,
I used the lexer multiplexing mechanism in ANTLR2 and figured that
would be the way to go with Xtext also. However I could not find an
obvious way to do this.


Best regards,
Torkild
--
Torkild Ulvøy Resheim
Consultant / Eclipse Committer / Senior Software Developer
Itema AS - http://itema.no
Re: Multiplexing Xtext lexers? [message #1504506 is a reply to message #1504482] Tue, 09 December 2014 10:07 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14669
Registered: July 2009
Senior Member
hi,

did you have a look at https://github.com/puppetlabs/geppetto ?


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:OutOfMemoryError when opening a large file in an XText-generated language editor
Next Topic:Cannot find compatible feature
Goto Forum:
  


Current Time: Fri Apr 26 21:26:30 GMT 2024

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

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

Back to the top