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

Infix operator parsing #4

Closed cvauclair closed 3 years ago

cvauclair commented 3 years ago

Description

The Mesh Engine should be able to parse expressions containing infix operators. Infix operators consist of any sequence of the following characters: +, -, *, /, >, <, =, ?, |, $, #, @, ~, !, %.

Examples:

a + b
a - b
a * b
a //// b
a ** b
a %@ b
a >#> b