Created
February 6, 2010 05:00
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun decide-next-step () | |
"Decide what to do next based on the current character" | |
(let ((c (read-char stream nil))) | |
(cond ((not c) (add-char-to-out #\newline) out-paragraph) | |
((char= #\% c) (throw-away-until-newline)) | |
((char= #\\ c) (check-for-frame-title)) | |
(t (decide-next-step))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment