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

Move Souffle bindings to souffle.js #120

Merged
merged 22 commits into from
Sep 2, 2024
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
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added
- Allow running Misti without Souffle installation: Issue [#45](https://github.com/nowarp/misti/issues/45)
- `--souffle-binary` CLI option
- `--souffle-binary` CLI option to specify path to the Souffle executable
- `--souffle-verbose` CLI option to include comments to the generated Souffle files: PR [#120](https://github.com/nowarp/misti/pull/120)
- Benchmarks for executing detectors. Use e.g. `yarn benchmark ./test/good/sample-jetton.tact`.
- Public API to handle Tact stdlib paths
- Detector templates and the `--new-detector` CLI option: PR [#105](https://github.com/nowarp/misti/pull/105)
Expand All @@ -18,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Asynchronous detectors and Souffle execution: PR [#118](https://github.com/nowarp/misti/pull/118)

### Changed
- Moved Souffle bindings to a its own repository https://github.com/nowarp/souffle.js: PR [#120](https://github.com/nowarp/misti/pull/120)

### Fixed
- Adjust option names in Config and JSONSchema
Expand Down
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
"graphviz",
"idxs",
"unmarshalled",
"unmarshal",
"fixpoints",
"Datalog",
"lvalues",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"misti": "./bin/misti"
},
"dependencies": {
"@nowarp/souffle": "^0.1.2",
"@tact-lang/compiler": "^1.4.4",
"@types/benchmark": "^2.1.5",
"@types/fs-extra": "^11.0.4",
Expand Down
9 changes: 7 additions & 2 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,17 @@ export function createMistiCommand(): Command {
)
.option(
"--souffle-binary <path>",
"Path to Soufflé binary. Default value: `souffle`.",
"Path to Soufflé binary. Default: `souffle`.",
undefined,
)
.option(
"--souffle-path <path>",
"Directory to save generated Soufflé files. If not set, a temporary directory will be used.",
"Directory to save generated Soufflé files. If not set, a temporary directory will be used. Default: `/tmp/misti/souffle`",
undefined,
)
.option(
"--souffle-verbose",
"If set, generates more readable Soufflé files instead of making the result source code smaller.",
undefined,
)
.option(
Expand Down
Loading
Loading