Skip to content

Commit

Permalink
move CanonicalCodeBuilder to the core #430
Browse files Browse the repository at this point in the history
  • Loading branch information
walterxie committed Dec 3, 2023
1 parent 5fa1349 commit c002c09
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package lphystudio.app;

import lphy.core.codebuilder.CanonicalCodeBuilder;
import lphy.core.logger.LoggerUtils;
import lphy.core.logger.ValueFileLoggerListener;
import lphy.core.model.Value;
Expand All @@ -10,7 +11,6 @@
import lphystudio.app.manager.DependencyUtils;
import lphystudio.core.awt.AboutMenuHelper;
import lphystudio.core.awt.PreferencesHelper;
import lphystudio.core.codebuilder.CanonicalCodeBuilder;
import lphystudio.core.editor.UndoManagerHelper;
import lphystudio.core.logger.AlignmentLog;
import lphystudio.core.narrative.HTMLNarrative;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package lphystudio.app.graphicalmodelpanel;

import lphy.core.codebuilder.CanonicalCodeBuilder;
import lphy.core.logger.LoggerUtils;
import lphystudio.core.codebuilder.CanonicalCodeBuilder;
import lphystudio.core.codecolorizer.DataModelCodeColorizer;

import javax.swing.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package lphystudio.app.graphicalmodelpanel;

import jebl.evolution.sequences.SequenceType;
import lphy.core.codebuilder.CanonicalCodeBuilder;
import lphy.core.logger.LoggerUtils;
import lphy.core.model.*;
import lphy.core.parser.LPhyParserDictionary;
Expand All @@ -15,7 +16,6 @@
import lphystudio.app.graphicalmodelcomponent.interactive.InteractiveGraphicalModelComponent;
import lphystudio.app.treecomponent.TimeTreeComponent;
import lphystudio.app.treecomponent.TimeTreeExtraPlotComponent;
import lphystudio.core.codebuilder.CanonicalCodeBuilder;
import lphystudio.core.codecolorizer.LineCodeColorizer;
import lphystudio.core.editor.UndoManagerHelper;
import lphystudio.core.layeredgraph.Layering;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package lphystudio.core.codebuilder;

import lphy.core.codebuilder.CodeBuilder;
import lphy.core.model.Generator;
import lphy.core.model.RandomVariable;
import lphy.core.model.Value;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package lphystudio.core.narrative;

import lphy.core.codebuilder.CanonicalCodeBuilder;
import lphy.core.model.NarrativeUtils;
import lphy.core.model.Value;
import lphy.core.model.annotation.Citation;
import lphy.core.parser.LPhyParserDictionary;
import lphystudio.core.codebuilder.CanonicalCodeBuilder;
import lphystudio.core.layeredgraph.ProperLayeredGraph;
import lphystudio.core.theme.ThemeColours;
import org.scilab.forge.jlatexmath.TeXConstants;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package lphystudio.core.narrative;

import lphy.core.codebuilder.CanonicalCodeBuilder;
import lphy.core.model.*;
import lphy.core.model.annotation.Citation;
import lphy.core.parser.LPhyParserDictionary;
import lphy.core.vectorization.IID;
import lphy.core.vectorization.VectorizedDistribution;
import lphy.core.vectorization.VectorizedFunction;
import lphystudio.core.codebuilder.CanonicalCodeBuilder;
import lphystudio.core.layeredgraph.*;
import lphystudio.core.theme.ThemeColours;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package lphystudio.core.codecolorizer;

import lphy.core.codebuilder.CanonicalCodeBuilder;
import lphy.core.parser.LPhyParserDictionary;
import lphystudio.app.graphicalmodelpanel.GraphicalModelParserDictionary;
import lphystudio.app.graphicalmodelpanel.StudioConsoleInterpreter;
import lphystudio.core.codebuilder.CanonicalCodeBuilder;
import lphystudio.core.narrative.DataModelToHTML;
import lphystudio.core.narrative.DataModelToLaTeX;
import lphystudio.core.theme.ThemeColours;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package lphystudio.core.codebuilder;
package lphy.core.codebuilder;

import lphy.core.model.Generator;
import lphy.core.model.Value;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package lphystudio.core.codebuilder;
package lphy.core.codebuilder;

import lphy.core.model.Generator;
import lphy.core.model.Value;
Expand Down
6 changes: 3 additions & 3 deletions lphy/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

requires info.picocli;

exports lphy.core.logger;

// graphical model
exports lphy.core.model;
exports lphy.core.model.annotation;
Expand All @@ -37,7 +35,9 @@
exports lphy.core.vectorization.operation;

// others
// exports lphy.core.narrative;
exports lphy.core.codebuilder;
exports lphy.core.logger;
// exports lphy.core.narrative;
exports lphy.core.exception;
exports lphy.core.io;

Expand Down

0 comments on commit c002c09

Please sign in to comment.