-
Notifications
You must be signed in to change notification settings - Fork 424
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
Design medium-level abstractions for smart contracts - Fleetwood™ #18
Comments
Commit 64aa222 implements the foundations for the upcoming medium level abstractions inspired by Fleetwood. Visit https://github.com/Robbepop/pdsl/tree/master/model/examples for some not yet completely working examples. Note that this is very experimental and very unstable. Visit https://github.com/Robbepop/pdsl/tree/master/model/ for a general overview of the new crate. |
Commit 1d9bb5f and the few previous implement some of the final things that have been missing. This represents a very raw and still majorly untested implementation of the Fleetwood abstractions. Also they are not recommended to be used since they lack proper compile-time functionality for critical parts and still do not produce automatic message selectors; instead the user has to define them themselves which is far from an optimal user experience. |
Some future enhancements:
|
Since all of this has been implement long ago and is considered to be stable (enough) I am going to close this now. |
Regarding https://github.com/paritytech/fleetwood.
Description
Current pDSL has a low level abstraction called the
pdsl_core
that offers core abstractions to work only on a very thin layer on top of the foundations that have been built for SRML smart contracts.Then there are plans for a very high level eDSL that is going to be based on the Rust programming language and offers all niceties that users might expect from a language that is specific to the domain of smart contracts. (DSL)
Fleetwood
Fleetwood on the other hand offers what I would call a medium abstraction.
It is no real domain specific language nor forces it users to work on the bare metal foundations.
In essence Fleetwood provides data structures to virtually represent the structure of smart contracts.
This can be seen as an abstract representation that could be further utilized by users or systems.
About
This issue tracks progress and ideas around having a medium abstraction layer similar to https://github.com/paritytech/fleetwood for pDSL. It also tracks ideas about how we could eventually build an upcoming eDSL that is planned on top of it instead of the bare metal low-level abstractions.
Future Goal
So with this medium level abstraction built into the pDSL framework we would have the following structure
of working with smart contracts:
pdsl_core
)fleetsteel
(aka Fleetwood style abstractions)The text was updated successfully, but these errors were encountered: