• Christophe Rhodes's avatar
    Prolog syntax improvements: · e4ceed7c
    Christophe Rhodes authored
    * PRINT-OBJECT for PROLOG-LEXEMEs, for less pain while debugging;
    
    * OPEN-CT production rule from OPEN-CT-LEXEME, because we can;
    
    * rework the lexer a bit.  Now UPDATE-SYNTAX just invalidates the lex
      as it invalidates the parse, and UPDATE-SYNTAX-FOR-DISPLAY relexes as
      far as it needs to;
    
    * we need operator-compound-lterm and subclasses, because we cannot
      create multiple nonterminals from one rule: returning
        (make-instance 'lterm :term (make-instance 'foo ...))
      from a production rule leaves some slots in the FOO unfilled;
    
    * note my own bafflement as to why an apparently infinitely-recursive
      production doesn't recurse infinitely.  It can be fixed when needed,
      but why isn't it triggering?
    
    This version still gets various aspects of multiline lexemes wrong, but
    it's a lot better than before.
    e4ceed7c
Name
Last commit
Last update
Doc Loading commit data...
Persistent Loading commit data...
testing Loading commit data...
.gitignore Loading commit data...
INSTALL Loading commit data...
README Loading commit data...
TODO Loading commit data...
abbrev.lisp Loading commit data...
base-test.lisp Loading commit data...
base.lisp Loading commit data...
buffer-en.html Loading commit data...
buffer-test.lisp Loading commit data...
buffer.html Loading commit data...
buffer.lisp Loading commit data...
cl-syntax.lisp Loading commit data...
climacs-en.html Loading commit data...
climacs.asd Loading commit data...
climacs.html Loading commit data...
delegating-buffer.lisp Loading commit data...
gui.lisp Loading commit data...
html-syntax.lisp Loading commit data...
index.html Loading commit data...
io.lisp Loading commit data...
kill-ring.lisp Loading commit data...
packages.lisp Loading commit data...
pane.lisp Loading commit data...
pdp.html Loading commit data...
prolog-syntax.lisp Loading commit data...
redisplay-en.html Loading commit data...
redisplay.html Loading commit data...
skeleton-en.html Loading commit data...
skeleton.html Loading commit data...
syntax.lisp Loading commit data...
text-syntax.lisp Loading commit data...
translate.lisp Loading commit data...
undo-en.html Loading commit data...
undo.html Loading commit data...
undo.lisp Loading commit data...