-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add extra options for kompiling to haskell (#2652)
* Add extra options for kompiling to haskell --haskell-backend-command --no-haskell-binary * Fix installation Co-authored-by: rv-jenkins <[email protected]>
- Loading branch information
1 parent
0bacf0a
commit 84dcd0c
Showing
7 changed files
with
52 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
haskell-backend/src/main/java/org/kframework/backend/haskell/HaskellKompileOptions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright (c) 2014-2019 K Team. All Rights Reserved. | ||
package org.kframework.backend.haskell; | ||
|
||
import com.beust.jcommander.Parameter; | ||
import org.kframework.utils.inject.RequestScoped; | ||
|
||
@RequestScoped | ||
public class HaskellKompileOptions { | ||
|
||
@Parameter(names="--haskell-backend-command", description="Command to run the Haskell backend execution engine.") | ||
public String haskellBackendCommand = "kore-exec"; | ||
|
||
@Parameter(names="--no-haskell-binary", description="Do not force the haskell backend to use the binary format. Use the textual format instead. This is a development option. Sometime the binary format can cause issues.") | ||
public boolean noHaskellBinary = false; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters