Skip to content
This repository was archived by the owner on Jun 17, 2026. It is now read-only.

Proof of concept: add 'vessel.mo' as an alternative to 'vessel.dhall'#59

Draft
rvanasa wants to merge 3 commits into
caffeinelabs:mainfrom
rvanasa:ryan/vessel-mo
Draft

Proof of concept: add 'vessel.mo' as an alternative to 'vessel.dhall'#59
rvanasa wants to merge 3 commits into
caffeinelabs:mainfrom
rvanasa:ryan/vessel-mo

Conversation

@rvanasa

@rvanasa rvanasa commented Sep 19, 2022

Copy link
Copy Markdown
Contributor

This PR is a demonstration of the serde-based value conversion feature in the Motoko VM.

In general, Motoko can now fill the role of a configuration file format in place of Dhall or JSON.

Example vessel.mo file (in place of vessel.dhall):

{
  dependencies = [ "base" ];
  compiler = null; // optional field
};

Original vessel.dhall file:

{
  dependencies = [ "base" ],
  compiler = None Text
}

@rvanasa rvanasa marked this pull request as draft September 19, 2022 16:00
@q-uint q-uint mentioned this pull request Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant