Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Using generated Antlr parser from plain java app
Using generated Antlr parser from plain java app [message #798426] Tue, 14 February 2012 17:28 Go to next message
Boris is currently offline BorisFriend
Messages: 7
Registered: July 2009
Junior Member
We have created a xtext project that works good in Eclipse!
XText have created a Antrl parser (source in src-gen directory)
Is it possible to someway reuse either the plug-in jar or some parts of
source code in external java application (e.g. without Eclipse dependencies)
Want the to launch the an application (with the parser) from command line.

Any suggsestions accpted.

Boris Lenvize
Re: Using generated Antlr parser from plain java app [message #798489 is a reply to message #798426] Tue, 14 February 2012 19:00 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13422
Registered: July 2009
Senior Member
Hi,

one would not use the antlr plugin but the whole runtime plugin standalone http://wiki.eclipse.org/Xtext/FAQ#How_do_I_load_my_model_in_a_standalone_Java_application.C2.A0.3F

~Christian


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Problem with classpath uri imports
Next Topic:allow anythin in a block?
Goto Forum:
  


Current Time: Fri Apr 03 17:23:13 GMT 2020

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

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

Back to the top