Skip to main content



      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 12:28 Go to next message
Eclipse UserFriend
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 14:00 Go to previous message
Eclipse UserFriend
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
Previous Topic:Problem with classpath uri imports
Next Topic:allow anythin in a block?
Goto Forum:
  


Current Time: Wed Jul 02 16:47:31 EDT 2025

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

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

Back to the top