Skip to content
Merged
Show file tree
Hide file tree
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
11 changes: 0 additions & 11 deletions Src/PCompiler/CompilerCore/Backend/Stately/CompilationContext.cs

This file was deleted.

212 changes: 0 additions & 212 deletions Src/PCompiler/CompilerCore/Backend/Stately/StatelyCodeGenerator.cs

This file was deleted.

2 changes: 0 additions & 2 deletions Src/PCompiler/CompilerCore/Backend/TargetLanguage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Plang.Compiler.Backend.CSharp;
using Plang.Compiler.Backend.Java;
using Plang.Compiler.Backend.PEx;
using Plang.Compiler.Backend.Stately;
using Plang.Compiler.Backend.PVerifier;

namespace Plang.Compiler.Backend
Expand All @@ -16,7 +15,6 @@ static TargetLanguage()
{
RegisterCodeGenerator(CompilerOutput.PChecker, new PCheckerCodeGenerator());
RegisterCodeGenerator(CompilerOutput.PObserve, new PObserveCodeGenerator());
RegisterCodeGenerator(CompilerOutput.Stately, new StatelyCodeGenerator());
RegisterCodeGenerator(CompilerOutput.PVerifier, new PVerifierCodeGenerator());
RegisterCodeGenerator(CompilerOutput.PEx, new PExCodeGenerator());
}
Expand Down
1 change: 0 additions & 1 deletion Src/PCompiler/CompilerCore/CompilerOutput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ public enum CompilerOutput
{
PChecker,
PObserve,
Stately,
PEx,
PVerifier
}
Expand Down
7 changes: 2 additions & 5 deletions Src/PCompiler/PCommandLine/Options/PCompilerOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ internal PCompilerOptions()
pfilesGroup.AddArgument("projname", "pn", "Project name for the compiled output");
pfilesGroup.AddArgument("outdir", "o", "Dump output to directory (absolute or relative path)");

var modes = Parser.AddArgument("mode", "md", "Compilation mode to use. Can be bugfinding, pex, pobserve, or stately. If this option is not passed, bugfinding mode is used as default");
modes.AllowedValues = new List<string>() { "bugfinding", "pex", "pobserve", "stately", "verification", "coverage" };
var modes = Parser.AddArgument("mode", "md", "Compilation mode to use. Can be bugfinding, pex, or pobserve. If this option is not passed, bugfinding mode is used as default");
modes.AllowedValues = new List<string>() { "bugfinding", "pex", "pobserve", "verification", "coverage" };

Parser.AddArgument("pobserve-package", "po", "PObserve package name").IsHidden = true;

Expand Down Expand Up @@ -159,9 +159,6 @@ private static void UpdateConfigurationWithParsedArgument(CompilerConfiguration
case "pobserve":
compilerConfiguration.OutputLanguages.Add(CompilerOutput.PObserve);
break;
case "stately":
compilerConfiguration.OutputLanguages.Add(CompilerOutput.Stately);
break;
default:
throw new Exception($"Unexpected mode: '{option.Value}'");
}
Expand Down
5 changes: 1 addition & 4 deletions Src/PCompiler/PCommandLine/Parser/ParsePProjectFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -231,15 +231,12 @@ private IList<CompilerOutput> GetTargetLanguages(FileInfo fullPathName)
case "pobserve":
outputLanguages.Add(CompilerOutput.PObserve);
break;
case "stately":
outputLanguages.Add(CompilerOutput.Stately);
break;
case "pverifier":
outputLanguages.Add(CompilerOutput.PVerifier);
break;
default:
throw new CommandlineParsingError(
$"Expected PChecker, PObserve, Stately, PVerifier, or Symbolic as target, received {projectXml.Element("Target")?.Value}");
$"Expected PChecker, PObserve, PVerifier, or Symbolic as target, received {projectXml.Element("Target")?.Value}");
}
}
}
Expand Down
Loading