example 'cl-repl': add all 'loop' keywords as :keywords

This commit is contained in:
pls.153 2022-10-02 09:17:07 +02:00
parent 5d924ac431
commit ce34e7fbfa

View file

@ -1,12 +1,14 @@
(in-package :editor)
;; list of symbols starting with either ':' or '&', and global variables (for auto completion)
;;; list of symbols starting with either ':' (including loop keywords) or '&',
;;; and global variables (for auto completion)
(defvar *keywords-list*
'(":abort"
":above"
":absolute"
":accessor"
":across"
":adjustable"
":after"
":all"
@ -20,6 +22,7 @@
":ansi-cl"
":answer-variable"
":append"
":appending"
":apropos"
":arg"
":args"
@ -27,6 +30,7 @@
":arguments"
":around"
":array"
":as"
":atsignp"
":back"
":backtrace"
@ -34,6 +38,7 @@
":base"
":bds"
":before"
":being"
":below"
":big-endian"
":binding-stack"
@ -49,19 +54,19 @@
":by"
":byte"
":bytecodes"
":c-file"
":c/c++"
":call"
":callback"
":capitalize"
":case"
":catch"
":c/c++"
":cdecl"
":cdr-1"
":cdr-14"
":cdr-5"
":cdr-7"
":cf"
":c-file"
":char"
":character"
":circle"
@ -72,16 +77,17 @@
":cmp"
":cmu-format"
":code"
":%code"
":colinc"
":collect"
":collecting"
":colnum"
":colonp"
":commands"
":common"
":common-lisp"
":compile-file"
":compiler"
":compile-toplevel"
":compiler"
":complaint"
":conc-name"
":cond"
@ -95,6 +101,7 @@
":copier"
":correctablep"
":count"
":counting"
":cr"
":create"
":crlf"
@ -115,10 +122,10 @@
":device"
":dffi"
":direct-default-initargs"
":direction"
":directory"
":direct-slots"
":direct-superclasses"
":direction"
":directory"
":disable"
":disassemble"
":displaced-index-offset"
@ -126,8 +133,10 @@
":display"
":dll"
":dlopen"
":do"
":doc"
":documentation"
":doing"
":dont-know"
":double"
":down"
@ -164,6 +173,8 @@
":extended"
":external"
":external-format"
":external-symbol"
":external-symbols"
":fas"
":fasl"
":ffi"
@ -174,8 +185,9 @@
":fixnum"
":flag-variable"
":float"
":force-load"
":for"
":for-keywords"
":force-load"
":form"
":format-arguments"
":format-ars"
@ -195,10 +207,14 @@
":generic-function-class"
":gensym"
":go"
":h-file"
":hash-key"
":hash-keys"
":hash-value"
":hash-values"
":help"
":help-stack"
":her"
":h-file"
":hide"
":hide-package"
":his"
@ -209,6 +225,7 @@
":identity"
":identity-with-one-argument"
":ieee-floating-point"
":if"
":if-does-not-exist"
":if-error-exists"
":if-exists"
@ -231,10 +248,10 @@
":initial-bindings"
":initial-contents"
":initial-element"
":initially"
":initial-offset"
":initial-p"
":initial-value"
":initially"
":input"
":inspect"
":instance"
@ -247,9 +264,11 @@
":interactive-function"
":intern"
":internal"
":into"
":invert"
":io"
":iso-8859-1"
":it"
":iteration-keywords"
":its"
":junk-allowed"
@ -271,9 +290,9 @@
":lexical-variables"
":lf"
":line"
":linear"
":line-buffered"
":line-relative"
":linear"
":lines"
":link"
":linux"
@ -282,8 +301,8 @@
":literal"
":little-endian"
":load"
":loadrc"
":load-toplevel"
":loadrc"
":local"
":location"
":lock"
@ -295,12 +314,16 @@
":macros"
":mandatory"
":mask"
":maximize"
":maximizing"
":message"
":metaclass"
":method"
":method-class"
":method-combination"
":method-from-defgeneric-p"
":minimize"
":minimizing"
":miser"
":miser-width"
":mode"
@ -310,9 +333,12 @@
":name"
":named"
":names"
":nconc"
":nconcing"
":never"
":new-version"
":newest"
":newline"
":new-version"
":next"
":nicknames"
":no-error"
@ -324,7 +350,9 @@
":object"
":octets"
":of"
":of-type"
":offset"
":on"
":one-liner"
":operands"
":operation"
@ -356,9 +384,11 @@
":pr"
":predicate"
":prefix"
":prefixed-api"
":prefix-length"
":prefixed-api"
":preposition-groups"
":present-symbol"
":present-symbols"
":preserve"
":preserve-whitespace"
":pretty"
@ -378,18 +408,18 @@
":quit"
":radix"
":read"
":read-only"
":read-only-p"
":readably"
":reader"
":readers"
":read-only"
":read-only-p"
":recurse"
":recursive"
":rehash-size"
":rehash-threshold"
":relative"
":relativep"
":relative-package-names"
":relativep"
":remaining"
":rename"
":rename-and-delete"
@ -400,6 +430,7 @@
":reset-count"
":resolve-symlinks"
":restart"
":return"
":returning"
":right-margin"
":rules"
@ -409,9 +440,9 @@
":section"
":section-column"
":section-end"
":sectionp"
":section-relative"
":section-start-line"
":sectionp"
":separator-string"
":set"
":set-default-pathname"
@ -430,10 +461,10 @@
":special"
":specializers"
":start"
":start-column"
":start1"
":start2"
":start-column"
":%status"
":status"
":stdcall"
":step"
":stop"
@ -443,32 +474,37 @@
":struct"
":suffix"
":suffix-length"
":sum"
":summing"
":supersede"
":supporting-libraries"
":switch"
":symbol"
":symbol-types"
":symbols"
":system-library"
":system-p"
":sysv"
":tables"
":tag"
":target"
":temporary-pathname"
":temp-variable"
":temporary-pathname"
":tempvars"
":test"
":test-function"
":test-not"
":the"
":then"
":thereis"
":threads"
":to"
":tr"
":trace"
":type"
":type-keywords"
":types"
":type-symbols"
":types"
":ucs-2"
":ucs-2be"
":ucs-2le"
@ -489,6 +525,7 @@
":unix"
":unix64"
":unknown"
":unless"
":unmask"
":unsigned"
":unsigned-byte"
@ -508,6 +545,7 @@
":us-ascii"
":use"
":user-data"
":using"
":utf-8"
":value"
":variables"
@ -516,10 +554,11 @@
":void"
":wait"
":waiting"
":walker"
":walk-form"
":walk-function"
":walker"
":weakness"
":when"
":which"
":while"
":wild"