EVMcrispr / evmcrispr

A library for interacting with Web3 protocols in a easier fashion through a domain-specific language
https://evmcrispr.com
GNU Affero General Public License v3.0
25 stars 10 forks source link

Introduce `set` command and local variables #21

Closed sembrestels closed 2 years ago

sembrestels commented 2 years ago

The syntax is as follows:

set $<var-name> <var-value>

You can also set helper's variables:

set @<helper>.<var-name> <var-value>

The value of a variable can be retrieved anytime as:

$<var-name>