pine-parser 0.2.1

Parser for Pine Script.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//@version=4

// Tuple destructuring
[a, b] = macd(close, 12, 26, 9)

// Multiple values
[x, y, z] = func(1, 2, 3)

// In function body
getValue() =>
    [first, second] = calculate()
    first + second