Protean-Labs / mesh

The Mesh Engine that implements the Mesh Language, a computational language for web3.
Apache License 2.0
1 stars 0 forks source link

Format strings #78

Open cvauclair opened 3 years ago

cvauclair commented 3 years ago

Description

The Mesh language should support format strings to make creating strings with values of non-string types easier.

Proposed approach

Use the same syntax as Python. E.g.:

let x = 2;
let y = true;
f"x is {x} and y is {y}"

Should return the string "x is 2 and y is true"