Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Negation Purification arithmetic #869

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -170,26 +170,24 @@ public class HexActions {
new OperationAction(HexPattern.fromAngles("wdw", HexDir.NORTH_EAST)));
public static final ActionRegistryEntry OR = make("or",
new OperationAction(HexPattern.fromAngles("waw", HexDir.SOUTH_EAST)));
public static final ActionRegistryEntry NOT = make("not",
new OperationAction(HexPattern.fromAngles("dw", HexDir.NORTH_WEST)));
public static final ActionRegistryEntry XOR = make("xor",
new OperationAction(HexPattern.fromAngles("dwa", HexDir.NORTH_WEST)));
public static final ActionRegistryEntry GREATER = make("greater", new OperationAction(
HexPattern.fromAngles("e", HexDir.SOUTH_EAST))
);
public static final ActionRegistryEntry LESS = make("less", new OperationAction(
HexPattern.fromAngles("q", HexDir.SOUTH_WEST))
);
public static final ActionRegistryEntry GREATER_EQ = make("greater_eq", new OperationAction(
HexPattern.fromAngles("ee", HexDir.SOUTH_EAST))
);
public static final ActionRegistryEntry LESS_EQ = make("less_eq", new OperationAction(
HexPattern.fromAngles("qq", HexDir.SOUTH_WEST))
);
public static final ActionRegistryEntry GREATER = make("greater",
new OperationAction(HexPattern.fromAngles("e", HexDir.SOUTH_EAST)));
public static final ActionRegistryEntry LESS = make("less",
new OperationAction(HexPattern.fromAngles("q", HexDir.SOUTH_WEST)));
public static final ActionRegistryEntry GREATER_EQ = make("greater_eq",
new OperationAction(HexPattern.fromAngles("ee", HexDir.SOUTH_EAST)));
public static final ActionRegistryEntry LESS_EQ = make("less_eq",
new OperationAction(HexPattern.fromAngles("qq", HexDir.SOUTH_WEST)));
public static final ActionRegistryEntry EQUALS = make("equals",
new ActionRegistryEntry(HexPattern.fromAngles("ad", HexDir.EAST), new OpEquality(false)));
public static final ActionRegistryEntry NOT_EQUALS = make("not_equals",
new ActionRegistryEntry(HexPattern.fromAngles("da", HexDir.EAST), new OpEquality(true)));
public static final ActionRegistryEntry NOT = make("not",
new ActionRegistryEntry(HexPattern.fromAngles("dw", HexDir.NORTH_WEST), OpBoolNot.INSTANCE));
// public static final ActionRegistryEntry NOT = make("not",
// new ActionRegistryEntry(HexPattern.fromAngles("dw", HexDir.NORTH_WEST), OpBoolNot.INSTANCE));
public static final ActionRegistryEntry BOOL_COERCE = make("bool_coerce",
new ActionRegistryEntry(HexPattern.fromAngles("aw", HexDir.NORTH_EAST), OpCoerceToBool.INSTANCE));
public static final ActionRegistryEntry IF = make("if",
Expand Down
Loading