Execute a Markov algorithm: Difference between revisions

m
Added a comment indicating the use of non-standard Regular expression stuff from Allegro Lisp.
(Common Lisp solution)
m (Added a comment indicating the use of non-standard Regular expression stuff from Allegro Lisp.)
Line 1,282:
 
=={{header|Common Lisp}}==
I should mention that this uses the regular expression machinery present in Allegro Lisp but not Common Lisp generally (though there are public domain Lisp libraries).
<lang lisp>;;; Keeps track of all our rules
(defclass markov ()
Line 1,379 ⟶ 1,380:
NIL
</lang>
 
=={{header|D}}==
{{trans|Perl}}
Anonymous user