repo.or.cz
/
parenscript.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Clarified the behavior of CASE when it comes to symbols and fixed some other bugs...
[parenscript.git]
/
src
/
js-ir-package.lisp
blob
2a828da3b3f4a135faaca611d384ae9c7eff8a5e
1
(
in-package
#:
parenscript
)
2
(
in-readtable
:
parenscript
)
3
4
(
defpackage
#:
ps-js
5
(:
use
)
6
(:
export
7
;; operators
8
;; arithmetic
9
#:+
10
#:
-
11
#:
negate
12
#:*
13
#:/
14
#:
%
15
16
;; bitwise
17
#:&
18
#:
\|
19
#:
^
20
#:
~
21
#:>>
22
#:<<
23
#:>>>
24
25
;; assignment
26
#:=
27
#:+=
28
#:
-
=
29
#:*=
30
#:/=
31
#:
%
=
32
#:&=
33
#:
\|
=
34
#:
^
=
35
#:
~
=
36
#:>>=
37
#:<<=
38
#:>>>=
39
40
;; increment/decrement
41
#:++
42
#:
--
43
#:
post
++
44
#:
post--
45
46
;; comparison
47
#:==
48
#:===
49
#:!=
50
#:!==
51
#:>
52
#:>=
53
#:<
54
#:<=
55
56
;; logical
57
#:&&
58
#:
\|\|
59
#:!
60
61
;; misc
62
#:
?
;; ternary
63
#:
|
,
|
64
#:
delete
65
#:
function
66
#:
get
67
#:
in
68
#:
instanceof
69
#:
new
70
#:
typeof
71
#:
void
72
73
;; literals
74
#:
nil
75
#:
t
76
#:
false
77
#:
undefined
78
#:
this
79
80
;; statements
81
#:
block
82
#:
break
83
#:
continue
84
#:
do-while
85
#:
for
86
#:
for-in
87
#:
if
88
#:
label
89
#:
return
90
#:
switch
91
#:
default
92
#:
throw
93
#:
try
94
#:
var
95
#:
while
96
#:
with
97
98
#:
array
99
#:
aref
100
#:
cond
101
#:
lambda
102
#:
defun
103
#:
object
104
#:
getprop
105
#:
funcall
106
#:
escape
107
#:
regex
108
))