Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Giving the lexer a different stream
Giving the lexer a different stream [message #894401] Mon, 09 July 2012 06:31 Go to next message
Prajeet Missing name is currently offline Prajeet Missing nameFriend
Messages: 14
Registered: November 2010
Location: B'Lore
Junior Member
Hey can anyone tell me how to tell the antlr lexer to read a input stream of my own choice and not the stream from the editor? And i am hoping the parser will parse this modified stream.

Thanks


In order to gain something, something of equal value must be sacrificed.
Re: Giving the lexer a different stream [message #894607 is a reply to message #894401] Mon, 09 July 2012 19:34 Go to previous message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
Senior Member
Why would you want to do that?


Am 09.07.12 08:31, schrieb Prajeet Mising name:
> Hey can anyone tell me how to tell the antlr lexer to read a input
> stream of my own choice and not the stream from the editor? And i am
> hoping the parser will parse this modified stream.
>
> Thanks


--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com


---
Get professional support from the Xtext committers at www.typefox.io
Previous Topic:Preprocessing in XText
Next Topic:How to run Xtend2 from toolbar bottom?
Goto Forum:
  


Current Time: Thu Feb 20 13:49:11 GMT 2020

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

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

Back to the top