From 48f85cd0f651d269dfc1c641befe1fb1e4c50486 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Mon, 25 May 2009 21:33:06 +0000 Subject: * interp/sys-constants.boot ($OperatorFunctionNames): New. * interp/metalex.lisp (|PARSE-OperatorFunctionName|): New. Use it. * interp/fnewmeta.lisp (|PARSE-Category|): Handle operator function names. --- src/interp/sys-constants.boot | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/interp/sys-constants.boot') diff --git a/src/interp/sys-constants.boot b/src/interp/sys-constants.boot index ab119c84..b50e1d56 100644 --- a/src/interp/sys-constants.boot +++ b/src/interp/sys-constants.boot @@ -731,3 +731,12 @@ $KillLispSystem == 14 $SpadReaderTag == "SPAD__READER" + +--% + +++ List of operator names that can be overloaded in libraries. +$OperatorFunctionNames == + ["**", "^", "*", "/", "rem", "quo", "mod", "div", "exquo", + "+", "-", ">", ">=", "=", "~=", "<", "<=", "~", "not", + "case", "and", "or", "<<", ">>" ] + -- cgit v1.2.3