The Extractor Description Language
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


The Extractor Description Language (EDL) can be used to create an extractor which creates a TGraph representation of a textual input.

Building EDL

The project structure should be like this:

jgsrc/               # your jgralab workspace
+-> jgralab/         # jgralab itself
+-> edl/             # this project

Before building you need to create a folder lib in the edl project and insert the [strategoxt.jar] ( To build EDL you need to have Apache Ant.

Build jgralab first and then edl.

$ cd ../jgralab/
$ ant
$ cd ../edl/
$ ant

Using EDL

Before edl can be used you need to have [sdf2table] ( and [graphviz] ( Make sure that both programms can be called via command line via

$ sdf2table -h
$ dot -V

To generate an extractor from an EDL grammar call

java de.uni_koblenz.edl.preprocessor.EDLPreprocessor -i <SearchPathOfModules> -m <StartModule> -o <OutputPath> -p <PackagePrefix> -s <UsedTGraphSchema>

The generated extractor can be used by calling

java MyExtractor -o <OutputTGFile> (<InputFile> {<InputFile>})

For more options, use --help.


Copyright (C) 2007-2012 The JGraLab Team

Distributed under the General Public License (Version 3), with the following additional grant:

Additional permission under GNU GPL version 3 section 7

If you modify this Program, or any covered work, by linking or combining it
with Eclipse (or a modified version of that program or an Eclipse plugin),
containing parts covered by the terms of the Eclipse Public License (EPL),
the licensors of this Program grant you additional permission to convey the
resulting work.  Corresponding Source for a non-source form of such a
combination shall include the source code for the parts of JGraLab used as
well as that of the covered work.