|
depth ← {+\1 ¯1 0['()'⍳⍵]}
a. |
Find an equivalent expression
for 1 ¯1 0['()'⍳⍵] .
|
b. |
Write a function to produce a boolean vector which indicates whether an element
of the character vector argument is between quotes.
|
c. |
Modify depth
to produce the nesting depth for parentheses not within quotes.
|
|