It is a command-line tool that takes a directory with XMIR files and creates a new directory with modified XMIR files: two or more objects that are semantically equivalent are replaced with a single object.
Consider the following EO program:
while.
x
[i]
stdout > @
"Hello!\n"
if.
t.lt 0
[]
stdout > @
"Hello!\n"
nop
This code may be modified as such:
[i] > a
stdout > @
"Hello!\n"
while.
x
a
if.
t.lt 0
a
nop
Fork repository, make changes, send us a pull request.
We will review your changes and apply them to the master
branch shortly,
provided they don't violate our quality standards. To avoid frustration,
before sending us your pull request please run full Maven build:
$ mvn clean install -Pqulice
You will need Maven 3.3+ and Java 8+.