Content deleted Content added
Line 81:
Another advantage of the recent DSL trend is that a DSL can abstract the underlying execution of the logic defined in the DSL, but it can also utilize that same logic in various processing engines, such as [[SPARK (programming language)|Spark]], [[MapReduce]], and Dataflow. With a DSL, the transformation language is not tied to the engine.<ref name=":0" />
Although transformational languages are typically best suited for transformation, something as simple as regular expressions can be used to achieve useful transformation. A [[text editor]] like [[vim (text editor)|vim]], [[emacs]] or [[Textpad|TextPad]] supports the use of regular expressions with arguments. This would allow all instances of a particular pattern to be replaced with another pattern using parts of the original pattern. For example:
<pre>
foo ("some string", 42, gCommon);
|