Skip to content

Commit e9e779b

Browse files
committed
Progress.
1 parent 8583394 commit e9e779b

File tree

2 files changed

+20
-9
lines changed

2 files changed

+20
-9
lines changed

CONTRIBUTING.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,8 @@ Dependency | Update Site
3939
[PyDev] | https://raw.githubusercontent.com/ponder-lab/Pydev/pydev_9_3/org.python.pydev.updatesite
4040
[WALA] | https://raw.githubusercontent.com/ponder-lab/WALA/v1.6/com.ibm.wala-repository
4141

42-
## Running the Evaluator
43-
44-
Use the `edu.cuny.hunter.hybridize.evaluator` plug-in project to run the evaluation. The evaluator will output several CSV files with the results of the evaluation. For convenience, there is an [Eclipse launch configuration](https://wiki.eclipse.org/FAQ_What_is_a_launch_configuration%3F) that can be used to run the evaluation. The run configuration is named [`edu.cuny.hunter.hybridize.eval/Evaluate Hybridize Functions.launch`](https://github.com/ponder-lab/Hybridize-Functions-Refactoring/blob/691cbeb87be805b8bfc336e799d938a9064a5e0e/edu.cuny.hunter.hybridize.eval/Evaluate%20Hybridize%20Functions.launch). In the run configuration dialog, you can specify several arguments to the evaluator as system properties.
45-
46-
### Configuring the Evaluation
47-
48-
More info can be found on [this wiki page][evaluator wiki].
4942

5043
[wiki]: https://github.com/ponder-lab/Hybridize-Functions-Refactoring/wiki
51-
[evaluator wiki]: https://github.com/ponder-lab/Hybridize-Functions-Refactoring/wiki/Running-the-Evaluator
5244
[PyDev]: https://github.com/ponder-lab/Pydev/tree/pydev_9_3
5345
[Common Eclipse Refactoring Framework]: https://github.com/ponder-lab/Common-Eclipse-Refactoring-Framework
5446
[Ariadne]: https://github.com/ponder-lab/ML

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,25 @@ Coming soon!
1818

1919
## Usage
2020

21-
Coming soon!
21+
### General Usage
22+
23+
The refactoring can be run in two different ways:
24+
25+
1. As a command.
26+
1. Select a project.
27+
1. Select "Hybridize function..." from the "Quick Access" dialog (CTRL-3).
28+
1. As a menu item.
29+
1. Right-click on a project.
30+
1. Under "Refactor," choose "Hybridize function..."
31+
32+
Currently, the refactoring works only via the package explorer and the outline views. You can either select a single project to optimize or select multiple projects. In each case, the tool will find functions in the enclosing projects to refactor.
33+
34+
### Running the Evaluator
35+
36+
Use the `edu.cuny.hunter.hybridize.evaluator` plug-in project to run the evaluation. The evaluation process will produce several CSVs, as well as perform the transformation if desired (see below for details). The evaluator will output several CSV files with the results of the evaluation. For convenience, there is an [Eclipse launch configuration](https://wiki.eclipse.org/FAQ_What_is_a_launch_configuration%3F) that can be used to run the evaluation. The run configuration is named [`edu.cuny.hunter.hybridize.eval/Evaluate Hybridize Functions.launch`](https://github.com/ponder-lab/Hybridize-Functions-Refactoring/blob/691cbeb87be805b8bfc336e799d938a9064a5e0e/edu.cuny.hunter.hybridize.eval/Evaluate%20Hybridize%20Functions.launch). In the run configuration dialog, you can specify several arguments to the evaluator as system properties.
37+
38+
You can run the evaluator in several different ways, including as a command or as a menu item, which is shown in the menu bar. Either way, you must evaluate *entire* projects, as the evaluator will collect project-level data. Information on configuring the evaluator can be found on [this wiki page][evaluator wiki].
39+
2240

2341
## Installation
2442

@@ -37,6 +55,7 @@ Coming soon!
3755
For information on contributing, see [CONTRIBUTING.md][contrib].
3856

3957
[wiki]: https://github.com/ponder-lab/Hybridize-Functions-Refactoring/wiki
58+
[evaluator wiki]: https://github.com/ponder-lab/Hybridize-Functions-Refactoring/wiki/Running-the-Evaluator
4059
[eclipse]: http://eclipse.org
4160
[contrib]: https://github.com/ponder-lab/Hybridize-Functions-Refactoring/blob/main/CONTRIBUTING.md
4261
[pydev]: http://www.pydev.org/

0 commit comments

Comments
 (0)