So we have defined a set of API's that end users (functional folks precisely) would be using to perform their data transformations. Ex, for input as Name = "XyZ"
, the functional folks can define a transformation rule like @Text.UpperCase(Name)
to convert every value they get for name
to uppercase. The way it works is that every word defined after @
is the data type and every word defined after a .
is a method followed by parenthesis and a value. While this is what we have planned, I am trying to figure out if:
1> We really need a grammar that would be used to parse such inputs?
2> How can I arrange the nested calls like @Text.UpperCase(@Text.trim("XyZ "))
?