Would it be possible to use an alternate form of 'with' and 'withvector' that appeals to perl and json freaks?

Asked by Stephane Mikaty (eCircle AG)

Before:

set %Expect% with
 %Delivery% withvector
  with
   %Email% <email address hidden>
   %HTMLBody% some body
  end
  with
   %Email% <email address hidden>
   %HTMLBody% some body2
  end
 end
end

After:
set %Expect% {
 %Delivery% [
  {
   %Email% <email address hidden>
   %HTMLBody% some body
  }
  {
   %Email% <email address hidden>
   %HTMLBody% some body2
  }
 ]
}

Question information

Language:
English Edit question
Status:
Answered
For:
TestPlan Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
edA-qa (eda-qa) said :
#1

I'd like to avoid introducing more syntax into the language unless absolutely necessary. The current language should remain targeted as a very simple and symbol limited language. This facilitates the easiest use of strings found in web pages.

I'm not against the idea of having a second more advanced language however. The parsing layer is quite thin and it wouldn't be too hard to have an entirely second language with the same backend.

Can you help with this problem?

Provide an answer of your own, or ask Stephane Mikaty (eCircle AG) for more information if necessary.

To post a message you must log in.