Added files from parenscript 0.1.0 as distributed by Manuel Odendahl
[clinton/parenscript.git] / package.lisp
CommitLineData
8e198a08
MB
1(in-package :cl-user)
2
3(defpackage :js
4 (:use :common-lisp :net.html.generator)
5 (:export
6 ;; addition js symbols
7 #:new
8
9 ;; literals
10 #:t
11 #:nil
12 #:this
13 #:false
14 #:undefined
15
16 ;; keywords
17 #:break
18 #:continue
19
20 ;; array literals
21 #:array
22 #:list
23 #:aref
24 #:make-array
25
26 ;; operators
27 #:! #:not #:~
28 #:* #:/ #:%
29 #:+ #:-
30 #:<< #:>>
31 #:>>>
32 #:< #:> #:<= #:>=
33 #:in
34 #:eql #:== #:!= #:=
35 #:=== #:!==
36 #:&
37 #:^
38 #:\|
39 #:\&\& #:and
40 #:\|\| #:or
41 #:>>= #:<<=
42 #:*= #:/= #:%= #:+= #:\&= #:^= #:\|= #:~=
43 #:++ #:--
44 #:1+ #:1-
45 #:incf #:decf
46
47 ;; body forms
48 #:progn
49
50 ;; function definition
51 #:defun
52 #:lambda
53
54 ;; object literals
55 #:create
56 #:slot-value
57 #:with-slots
58
59 ;; macros
60 #:macrolet
61 #:symbol-macrolet
62
63 ;; lisp eval
64 #:lisp
65
66 ;; if
67 #:if
68 #:when
69 #:unless
70
71 ;; single argument statements
72 #:return
73 #:throw
74
75 ;; single argument expressions
76 #:delete
77 #:void
78 #:typeof
79 #:instanceof
80 #:new
81
82 ;; assignment
83 #:setf
84
85 ;; variables
86 #:defvar
87 #:let
88
89 ;; iteration
90 #:do
91 #:dotimes
92 #:dolist
93 #:doeach
94 #:while
95
96 ;; with
97 #:with
98
99 ;; case
100 #:case
101 #:default
102
103 ;; try throw catch
104 #:try
105
106 ;; regex literals
107 #:regex
108
109 ;; conditional compilation (IE)
110 #:cc-if
111
112 ;; math library
113 #:floor
114 #:random
115
116 ;; html generator for javascript
117 #:html
118
119 ;; compiler
120 #:js-compile
121 #:js
122 #:js-inline
123 #:js-file
124 #:js-script
125 #:js-to-strings
126 #:js-to-statement-strings
127 #:js-to-string
128 #:js-to-line
129
130 ;; CSS
131 #:css
132 #:css-to-string
133 #:css-inline
134 #:css-file
135
136 ))