SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


Questions about JTransformer and the PEFs

  • Q: Is there a way to generate the reverse indexes for a saved factbase? (Without JTransformer running.)
  • A: You need to load at least some excerpt of JT or CTC that performs the index creation. Without that, nothing will happen. The files you need to load are: ..\plugins\org.cs3.stransformer.java_1.0.3.200812151629\pl\main.ste.pl and ..\plugins\org.cs3.jtransformer_2.5.0.200812151629\engine\jt_engine.pl. Then you execute the query create_derived_facts to create the reverse indexes.
  • Q: Is there a way to generate the piece of Java code that belongs to an ID? (Without JTransformer running.)
  • A: Sure but you need to load at least the part of JT that defines the corresponding predicate. The two files mentioned above are enough. With that you can use gen_tree(ID, SourceCode) to regenerate the source code represented by the ID.
teaching/labs/xp/2009a/jtransformer_questions.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019