Update of /project/climacs/cvsroot/climacs In directory common-lisp.net:/tmp/cvs-serv31952
Modified Files: climacs.asd packages.lisp Added Files: prolog-syntax.lisp Log Message: Add a half-baked half-finished ISO Prolog syntax.
Known internal lacunae: * does not handle quotations correctly: ** fails to recognize '' as an escaped quote character (and similarly for other quote characters); ** fails to canonize quoted atoms; will fail to identify the operator ; from the quoted atom ';'; ** does not contain any logic for backslash-escaped data. * does not implement parsing floating point numbers. * comments before directives get italicized. * way too long. Expect some refactoring.
Known suboptimal interactions with the syntax framework: * parses the entire buffer at every keystroke; incremental parsing caused a problem at some point and has not (yet) been restored. * displays the entire buffer at every keystroke. * the incremental lexer gets confused in the presence of comments. (see forthcoming mail to climacs-devel)
Date: Sun Mar 27 16:29:32 2005 Author: crhodes
Index: climacs/climacs.asd diff -u climacs/climacs.asd:1.26 climacs/climacs.asd:1.27 --- climacs/climacs.asd:1.26 Wed Mar 23 19:07:03 2005 +++ climacs/climacs.asd Sun Mar 27 16:29:32 2005 @@ -63,6 +63,7 @@ "Persistent/persistent-undo" "pane" "html-syntax" + "prolog-syntax" "gui" ;;---- optional ---- "testing/rt"
Index: climacs/packages.lisp diff -u climacs/packages.lisp:1.59 climacs/packages.lisp:1.60 --- climacs/packages.lisp:1.59 Fri Mar 18 08:49:17 2005 +++ climacs/packages.lisp Sun Mar 27 16:29:32 2005 @@ -147,6 +147,11 @@ (:use :clim-lisp :clim :climacs-buffer :climacs-base :climacs-syntax :flexichain :climacs-pane))
+(defpackage :climacs-prolog-syntax + (:use :clim-lisp :clim :climacs-buffer :climacs-base + :climacs-syntax :flexichain :climacs-pane) + (:shadow "ATOM" "CLOSE" "EXP" "INTEGER" "OPEN" "VARIABLE")) + (defpackage :climacs-gui (:use :clim-lisp :clim :climacs-buffer :climacs-base :climacs-abbrev :climacs-syntax :climacs-kill-ring :climacs-pane :clim-extensions :undo))