Comments (4)
Yes it'd be very interesting !
I'm not sur about what exactly you're proposing when mentioning linking with the why library, but like other languages, supporting why3 in dolmen would mean adding a (likely functorized) parser, and a structure that matches its interface (either by extending the current untyped terms, or by adding a new structure), and potentially typechecker etc... On that matter, I will very soon re-organize a bit the dolmen_std part to better namespace the various structures in it to more easily allow new classes of languages to be added (for instance why3, which likely need a few more constructions than untyped and first-order formulas).
from dolmen.
I mean linking with the Why3 OCaml library. Letting Why3 do the parsing and perhaps typing then puting it back in Dolmen functorized parser, or expression.
from dolmen.
The dependency on why3 would be a bit of a problem for a few reasons:
First, the parser part of dolmen currently has very few dependencies, and that's why it can be used in some projects without too many worries (i know for instance that @c-cube uses it (or plans to use it), and probably wouldn't if it depended on why3).
Second, it would quite wasteful to wrap why3's interface to fit into the functorized interface of dolmen. One of the reasons for the functorized interface is to try and be as efficient as possible while being adaptable into any codebase.
from dolmen.
Ok, smtlib v3 is perhaps simpler and more important
from dolmen.
Related Issues (20)
- Additional builtins in the State? HOT 1
- Wrong check-model
- Bitvectors of size 0 should be forbidden
- Ill-typed statement on Bitvector is accepted by Dolmen HOT 1
- Expose `with_cache`? HOT 1
- Support Alt-Ergo's `cut` and `check` HOT 12
- Add authors files
- Unclear error message during model checking HOT 7
- Spec errors on the difference logic benchmarks of the SMT-LIB HOT 2
- Reject names starting with `@` and `.` outside of models
- Handling of `set-option :global-declarations`
- Handling of named terms HOT 2
- Check sat assuming HOT 2
- DIMACS variables do not appear as decls HOT 1
- Uncaught exception on buggy file
- 4.08 support broken (`List.concat_map`) HOT 10
- Quoted identifiers can be keywords HOT 12
- Warning regarding the `dolmen_type` file HOT 2
- Support non-incremental parsing from stdin HOT 1
- Handling abstract values in `(get-value)` statements HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dolmen.