Java Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
demo
docs
etc
nbproject
src/ua/gradsoft/jpe
systems
test/ua/gradsoft/jpe
testdata
README
build-ext.xml
build-ivy.xml
build.properties
build.xml
ivy.xml
ivysettings.xml
manifest.mf

README


  JPE -- partial implementation of Java Partial Evaluator.

  It took Java program and values for set of compile-time constansts
 and perform partial evaluation (or we can say - partial specialization 
 against set of constant) of program, than (optionally) perform elimination 
 of dead code and class finalization.


 Example: let we have something like:

    int main(String[] args)
    {
      if (CompileTimeConstants.DEBUG) {
         System.out.println("debug");
      }
      System.out.println("Hello");
    }

  Then we can receive two possible specializations:

    int main(String[] args)
    {
         System.out.println("debug");
      System.out.println("Hello");
    }

   when CompileTimeConstants.DEBUG is true or

    int main(String[] args)
    {
      System.out.println("Hello");
    }

   when one is false.

  Users guid in odf format is situated in docs directory.

  You can use JPE according to GPL-v3 license or ask me for other license.

  // Ruslan Shevchenko, ruslan@shevchenko.kiev.ua