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
Added Scott Bell's implementation of ASH.
[parenscript.git]
/
src
/
js-ir-package.lisp
blob
b493424662bb3625bbcafe096ef30399d7df8261
1
(
in-package
#:
parenscript
)
2
(
in-readtable
:
parenscript
)
3
4
(
defpackage
#:
ps-js
5
(:
shadowing-import-from
#:
cl
6
#:+
7
#:
-
8
#:*
9
#:/)
10
(:
export
11
;; operators
12
;; arithmetic
13
#:+
14
#:
-
15
#:
negate
16
#:*
17
#:/
18
#:
%
19
20
;; bitwise
21
#:&
22
#:
\|
23
#:
^
24
#:
~
25
#:>>
26
#:<<
27
#:>>>
28
29
;; assignment
30
#:=
31
#:+=
32
#:
-
=
33
#:*=
34
#:/=
35
#:
%
=
36
#:&=
37
#:
\|
=
38
#:
^
=
39
#:
~
=
40
#:>>=
41
#:<<=
42
#:>>>=
43
44
;; increment/decrement
45
#:++
46
#:
--
47
#:
post
++
48
#:
post--
49
50
;; comparison
51
#:==
52
#:===
53
#:!=
54
#:!==
55
#:>
56
#:>=
57
#:<
58
#:<=
59
60
;; logical
61
#:&&
62
#:
\|\|
63
#:!
64
65
;; misc
66
#:
?
;; ternary
67
#:
|
,
|
68
#:
delete
69
#:
function
70
#:
get
71
#:
in
72
#:
instanceof
73
#:
new
74
#:
typeof
75
#:
void
76
77
;; literals
78
#:
nil
79
#:
t
80
#:
f
81
#:
undefined
82
#:
this
83
84
;; statements
85
#:
block
86
#:
break
87
#:
continue
88
#:
do-while
89
#:
for
90
#:
for-in
91
#:
if
92
#:
label
93
#:
return
94
#:
switch
95
#:
default
96
#:
throw
97
#:
try
98
#:
var
99
#:
while
100
#:
with
101
102
#:
array
103
#:
aref
104
#:
cond
105
#:
lambda
106
#:
defun
107
#:
object
108
#:
getprop
109
#:
funcall
110
#:
escape
111
#:
regex
112
))