src/parser/parser-expr-proto.lisp: Get `expr' to cache operators.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 13 Aug 2019 09:56:14 +0000 (10:56 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 13 Aug 2019 09:56:14 +0000 (10:56 +0100)
commit288c7651d95b3d75af6d38d8ed40e87d63886b4f
tree92da6de5cc694523388c7fb1d149e9e4fc4ae922
parentf754d8ca377b0ebf8a67f585df06411c4d85cc72
src/parser/parser-expr-proto.lisp: Get `expr' to cache operators.

Add a new feature to `expr': if you write the operator parsers in a
special way, it will cache the operator objects around the whole
parser.  Use this in the property-set expression parser.  (Admittedly,
it previously cached the operators at load time, but there's an upcoming
change which will prevent this anyway.)
src/parser/parser-expr-proto.lisp
src/pset-parse.lisp