Talk:Execute a Markov algorithm: Difference between revisions
Content added Content deleted
m (→explicit vs tacit: tacit markovLexer & replace) |
|||
Line 78: | Line 78: | ||
ruleNo =. 0 {:: ] |
ruleNo =. 0 {:: ] |
||
markovLexer =. (,. ] (}.&.>~ ,. ]) ('.'={.)&.>)/@:|:@:lexed@:normal@:lines |
markovLexer =. (,. ] (}.&.>~ ,. ]) ('.'={.)&.>)/@:|:@:lexed@:normal@:lines |
||
lines =. LF cut |
lines =. LF cut TAB&=`(,:&' ')} |
||
normal =. a: -.~ (dltb |
normal =. a: -.~ (dltb@:{.~ i:&'#')&.> |
||
lexed =. 0 _1 {"1 '\s+->\s+' ( |
lexed =. 0 _1 {"1 '\s+->\s+' (rxmatch rxcut ])S:0 ]</lang> |
||
But I do not think that the tacit can claim any advantage over the explicit, in this case. Unless someone can come up with a clearer way of expressing the algorithm tacitly (maying using a different approach). |
But I do not think that the tacit can claim any advantage over the explicit, in this case. Unless someone can come up with a clearer way of expressing the algorithm tacitly (maying using a different approach). |