-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Introduction
Java translation is from far the most used feature and users ask for an easy way to instantiate this. We propose to add a custom public API aimed to make the java translation process easy.
Proposed solution
// Creating a new ShExC to Java translator.
ShExLTranslator t = new ToJavaShExLTranslator();
// Events will store the list of warnings or errors produced during the compilation.
// Notice, if any error is produced duringthe compilation the outputDir will be empty.
// Else the outputDir will contain all the generated Java files.
List<CompilationEvent> events = t.translate(inputDir, outputDir);Reactions are currently unavailable