You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we make some sort of domain-specific language for specifying the changing pattern?
We can use some sort of modifiers to specify the actions. For example:
//: Move
+/-: Update
-: Remove
default or +: Add
Example specification 1
for(*) {
//a++;
}
This specifies a change in which a for was added(irrespective of the conditions) and a++ was moved.
Example specification 1
+/-for(*) {
// a++
}
This specifies a change in which a for was modified.
The main advantage of such an approach would be UX. I feel that this will make the process of specifying change pattern easier and hence improving the usability.
The text was updated successfully, but these errors were encountered:
Can we make some sort of domain-specific language for specifying the changing pattern?
We can use some sort of modifiers to specify the actions. For example:
//
: Move+/-
: Update-
: Remove+
: AddExample specification 1
This specifies a change in which a
for
was added(irrespective of the conditions) anda++
was moved.Example specification 1
This specifies a change in which a
for
was modified.The main advantage of such an approach would be UX. I feel that this will make the process of specifying change pattern easier and hence improving the usability.
The text was updated successfully, but these errors were encountered: