pine-parser 0.1.0

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

// Switch with default case
result = switch mode
    'option1' => 10
    'option2' => 20
    => 30

// Switch with only default
value = switch x
    => 0