Talk:Execute a Markov algorithm: Difference between revisions

Content added Content deleted
(→‎Task addition: new section)
Line 150: Line 150:
Is the pattern <code>foo -></code>, and the replacement <code>bar</code>; or is the pattern <code>foo</code>, and the replacement <code>-> bar</code>? <br>
Is the pattern <code>foo -></code>, and the replacement <code>bar</code>; or is the pattern <code>foo</code>, and the replacement <code>-> bar</code>? <br>
What should be the right answer, and does the BNF express it? --[[User:Paddy3118|Paddy3118]] 22:30, 18 December 2009 (UTC)
What should be the right answer, and does the BNF express it? --[[User:Paddy3118|Paddy3118]] 22:30, 18 December 2009 (UTC)

== Task addition ==

Paddy3118 today added to the task description:
: In order to promote flexibility, the interpreter should load the set of rules from one file, take the string to operate on from a second file, and write the output to a third.
IMHO that's the antithesis of flexibility. You can redirect or pipe standard input/standard output. You can't easily do that with files. --[[User:Ce|Ce]] 22:32, 18 December 2009 (UTC)