Added NEWS file with initial release timeline
[parenscript.git] / src / js-ir-package.lisp
blobc69a5cfc11ac366f9457c7be80a7e45c85d35c37
1 ;;;; -*- encoding:utf-8 -*-
3 ;;; Copyright 2010, 2012 Vladimir Sedach
5 ;;; SPDX-License-Identifier: BSD-3-Clause
7 ;;; Redistribution and use in source and binary forms, with or
8 ;;; without modification, are permitted provided that the following
9 ;;; conditions are met:
11 ;;; 1. Redistributions of source code must retain the above copyright
12 ;;; notice, this list of conditions and the following disclaimer.
14 ;;; 2. Redistributions in binary form must reproduce the above
15 ;;; copyright notice, this list of conditions and the following
16 ;;; disclaimer in the documentation and/or other materials provided
17 ;;; with the distribution.
19 ;;; 3. Neither the name of the copyright holder nor the names of its
20 ;;; contributors may be used to endorse or promote products derived
21 ;;; from this software without specific prior written permission.
23 ;;; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
24 ;;; CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
25 ;;; INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
26 ;;; MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
27 ;;; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
28 ;;; BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
29 ;;; EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
30 ;;; TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
31 ;;; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
32 ;;; ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
33 ;;; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 ;;; OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 ;;; POSSIBILITY OF SUCH DAMAGE.
38 (in-package #:parenscript)
39 (named-readtables:in-readtable :parenscript)
41 (defpackage #:ps-js
42 (:use)
43 (:export
44 ;; operators
45 ;; arithmetic
46 #:+
47 #:unary-plus
48 #:-
49 #:negate
50 #:*
51 #:/
52 #:%
54 ;; bitwise
55 #:&
56 #:\|
57 #:^
58 #:~
59 #:>>
60 #:<<
61 #:>>>
63 ;; assignment
64 #:=
65 #:+=
66 #:-=
67 #:*=
68 #:/=
69 #:%=
70 #:&=
71 #:\|=
72 #:^=
73 #:~=
74 #:>>=
75 #:<<=
76 #:>>>=
78 ;; increment/decrement
79 #:++
80 #:--
81 #:post++
82 #:post--
84 ;; comparison
85 #:==
86 #:===
87 #:!=
88 #:!==
89 #:>
90 #:>=
91 #:<
92 #:<=
94 ;; logical
95 #:&&
96 #:\|\|
97 #:!
99 ;; misc
100 #:? ;; ternary
101 #:|,|
102 #:delete
103 #:function
104 #:get
105 #:set
106 #:in
107 #:instanceof
108 #:new
109 #:typeof
110 #:void
112 ;; literals
113 #:nil
115 #:false
116 #:undefined
117 #:this
119 ;; statements
120 #:block
121 #:break
122 #:continue
123 #:do-while ; currently unused
124 #:for
125 #:for-in
126 #:if
127 #:label
128 #:return
129 #:switch
130 #:default
131 #:throw
132 #:try
133 #:var
134 #:while
135 #:with
137 #:array
138 #:aref
139 #:cond
140 #:lambda
141 #:defun
142 #:object
143 #:getprop
144 #:funcall
145 #:escape
146 #:regex