This commit is contained in:
root
2019-08-30 19:30:19 +02:00
commit 6f2b105ca0
595 changed files with 78405 additions and 0 deletions

19
langs/lisp/lisp.txt Normal file
View File

@ -0,0 +1,19 @@
### LISP LANGUAGE ###
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
NAME Lisp
VERSION 1.0
COMMENT (;.*?$)|(;\|.*?\|;)
STRING (?<!\\)".*?(?<!\\)"
STATEMENT \b(?alt:statement.txt)\b
RESERVED \b(?alt:reserved.txt)\b
TYPE \b(?alt:type.txt)\b
KEYWORD (?<=\()\s*[a-z-]*[a-z]\b
IDENTIFIER [a-z-]*[a-z]
CONSTANT (?default)
OPERATOR (?default)|\(|\)
SYMBOL (?default)

132
langs/lisp/reserved.txt Normal file
View File

@ -0,0 +1,132 @@
parse-integer
complement
backquote
make-list
identity
defmacro
baktrace
evalhook
truncate
logcount
funcall
putprop
remprop
reverse
nsublis
maplist
symbolp
numberp
bignums
lognand
logorc2
logtest
logbitp
lambda
gensym
symbol
intern
caaaar
caaadr
caadar
caaddr
cadaar
cadadr
caddar
cadddr
cdaaar
cdaadr
cdadar
cdaddr
cddaar
cddadr
cdddar
cddddr
append
nthcdr
member
sublis
nsubst
remove
length
mapcar
mapcan
mapcon
rplaca
rplacd
delete
boundp
minusp
errset
random
logand
logior
logxor
lognot
logeqv
lognor
defun
princ
apply
quote
value
plist
caaar
caadr
cadar
caddr
cdaar
cdadr
cddar
cdddr
assoc
subst
nconc
listp
consp
zerop
plusp
evenp
equal
prog1
prog2
progn
print
write
eval
setq
setf
make
name
getf
aref
caar
cadr
cdar
cddr
cons
last
mapc
mapl
oddp
cond
case
prog
expt
sqrt
set
get
car
cdr
nth
eql
let
rem
min
max
abs
sin
cos
tan
exp
eq
l

14
langs/lisp/statement.txt Normal file
View File

@ -0,0 +1,14 @@
continue
dotimes
return
dolist
catch
throw
break
when
not
and
or
if
go
do

11
langs/lisp/type.txt Normal file
View File

@ -0,0 +1,11 @@
function
integer
cerror
array
error
float
hash
list
atom
null
nil