
(require (quote mim-mode))

(defun slow-syntax-check-mim nil "\
Check Mim syntax slowly.
Points out the context of the error, if the syntax is incorrect." (interactive) (byte-code "ÇˆÈÉ!ˆdÇÇÇÇÇŠebˆ?…  ÊËÆ#…› h‰ˆ
ÌUƒ4 ÇÍÎ�‚— 
ÏUƒA ÇÐÑ�‚— Ò
!ÓUƒ~ ?†[ ÔÕÖ H×\"Ø\"
U?ƒd `‰‚{ 	@‰ˆƒs Sf‚t Ç‰ˆ	A‰‚— Æ…— ƒŽ 	B‰‚� Çˆ`‰ˆ
‰ˆ‚ )ˆ†¢ ?ƒ¬ ÈÙ!‚ü ƒï bˆÚ
Ì\"ƒÀ ÛÜ!‚ì ?ƒÎ ÛÝÞ
!\"‚ì Æ…ì ÛßŠ`S‰ˆSbˆà`á ˆ`^\")Þ
!#‚ü Æ…ü bˆÛâÞ!\".‡" [stop point-stack current last-bracket whoops last-point t nil message "checking syntax..." re-search-forward "\\s(\\|\\s)\\|\"\\|[\\]" 34 (byte-code "ÂÃ!ˆÁ‰‡" [current nil re-search-forward "[^\\]\""] 3) ((error (byte-code "`‰‡" [whoops] 2))) 92 (byte-code "ÀÁ!‡" [forward-char 1] 2) ((error (byte-code "À‡" [nil] 1))) char-syntax 41 logand lsh syntax-table -8 127 "Syntax correct" equal error "Unterminated string" "Extraneous %s" char-to-string "Mismatched %s with %s" buffer-substring end-of-line "Unmatched %s"] 19))

(defun fast-syntax-check-mim nil "\
Checks Mim syntax quickly.
Answers correct or incorrect, cannot point out the error context." (interactive) (byte-code "ÁˆŠebˆÁm?… ÂÃ`dÄ#‰@Ä\"…  Áˆ‚ ˆÂ@Ä\"ƒ/ ÅÆ!‚2 ÇÈ!))‡" [state nil equal parse-partial-sexp 0 message "Syntax correct" error "Syntax incorrect"] 6))
