Consider the following file fragment:
function plus(a, b)
return a + b
end
minus(a, b) = a - b
I want to parse this file to extract the names of the functions. Thus in the example I wish to obtain the list [“plus”, “minus”]. How can this be done in the simplest manner?