Skip to content

Commit

Permalink
use XMIR instead of OPTIMIZED
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemGet committed Dec 30, 2024
1 parent 57e7910 commit 470df80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions eo-maven-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ one after another:
It's done by the `org.eolang.parser.EoSyntax` class in the `eo-parser` module. It takes
the source code in a plain text format and parses into XML document,
using [ANTLR4](https://www.antlr.org/) and [Xembly](https://www.xembly.org).
The output of the parser you can find in the `target/eo/1-parse` directory.
The output of the parser you can find in the `target/eo/parse` directory.
Parsed objects which are versioned (normally pulled from
[Objectionary](https://github.com/objectionary/home)) are cached in `.eo/parsed` folder.

Expand All @@ -97,7 +97,7 @@ one after another:
The class `org.eolang.parser.Program` is responsible for making XSLT
transformations and the entire list of them is stored in the
`org.eolang.parser.Pack` class. Some of XLST files are sanity checks (or linters).
The output of each transformation you can find in the `target/eo/2-optimize` directory.
The output of each transformation you can find in the `target/eo/optimize` directory.

* **Compilation**.
The class `org.eolang.maven.TranspileMojo` in the `eo-maven-plugin` module is responsible
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ public boolean notParsed() {
public boolean notPhied() {
boolean res = true;
if (this.delegate.exists(ForeignTojos.Attribute.PHI.getKey())
&& this.delegate.exists(ForeignTojos.Attribute.OPTIMIZED.getKey())) {
&& this.delegate.exists(ForeignTojos.Attribute.XMIR.getKey())) {
final Path phi = this.phi();
if (phi.toFile().lastModified() >= this.optimized().toFile().lastModified()) {
if (phi.toFile().lastModified() >= this.xmir().toFile().lastModified()) {
Logger.debug(
this, "Already executed xmir-to-phi: %s to %[file]s (it's newer than the XMIR)",
this.identifier(), phi
Expand Down

0 comments on commit 470df80

Please sign in to comment.