HCoop
/
clinton
/
parenscript.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for SQRT function.
[clinton/parenscript.git]
/
src
/
package.lisp
diff --git
a/src/package.lisp
b/src/package.lisp
index
c37a315
..
7eebfc7
100644
(file)
--- a/
src/package.lisp
+++ b/
src/package.lisp
@@
-7,21
+7,21
@@
#:t
#:f
#:true
#:t
#:f
#:true
- #.(symbol-name 'nil) ;
;
for case-sensitive Lisps like some versions of Allegro
+ #.(symbol-name 'nil) ; for case-sensitive Lisps like some versions of Allegro
#:this
#:false
#:undefined
#:this
#:false
#:undefined
-
+
;; keywords
#:break
#:continue
;; keywords
#:break
#:continue
-
+
;; array literals
#:array
#:list
#:aref
#:make-array
;; array literals
#:array
#:list
#:aref
#:make-array
-
+
;; operators
#:! #:not #:~
#:* #:/ #:%
;; operators
#:! #:not #:~
#:* #:/ #:%
@@
-41,69
+41,83
@@
#:*= #:/= #:%= #:+= #:\&= #:^= #:\|= #:~=
#:1+ #:1-
#:incf #:decf
#:*= #:/= #:%= #:+= #:\&= #:^= #:\|= #:~=
#:1+ #:1-
#:incf #:decf
-
+
;; body forms
#:progn
;; body forms
#:progn
-
+
;; object literals
#:create
#:with-slots
;; object literals
#:create
#:with-slots
-
+
;; macros
#:macrolet
#:symbol-macrolet
;; macros
#:macrolet
#:symbol-macrolet
-
+
;; if
#:if
#:when
#:unless
;; if
#:if
#:when
#:unless
-
+
;; single argument statements
#:return
#:throw
;; single argument statements
#:return
#:throw
-
+
;; single argument expressions
#:delete
#:void
#:typeof
#:instanceof
#:new
;; single argument expressions
#:delete
#:void
#:typeof
#:instanceof
#:new
-
+
;; assignment and binding
#:setf
;; assignment and binding
#:setf
- #:defaultf
#:defsetf
#:defsetf
+ #:psetf
+ #:setq
+ #:psetq
+ #:simple-let*
+ #:simple-let
+ #:lexical-let*
+ #:lexical-let
+ #:let*
#:let
#:let
-
+
;; variables
;; variables
+ #:var
#:defvar
#:defvar
-
+
;; iteration
;; iteration
+ #:labeled-for
#:for
#:for
- #:
doeach
+ #:
for-in
#:while
#:while
-
+ #:do
+ #:do*
+ #:dotimes
+ #:dolist
+ #:doeach
+
;; with
#:with
;; with
#:with
-
+
;; case
#:switch
#:case
#:default
;; case
#:switch
#:case
#:default
-
+
;; try throw catch
#:try
;; try throw catch
#:try
-
+
;; regex literals
#:regex
;; regex literals
#:regex
-
+
;; conditional compilation (IE)
#:cc-if
;; conditional compilation (IE)
#:cc-if
-
+
;; function definition
#:defun
#:lambda
;; function definition
#:defun
#:lambda
-
+
;; lambda lists
#:&key
#:&rest
;; lambda lists
#:&key
#:&rest
@@
-123,24
+137,11
@@
#:define-symbol-macro
#:define-script-symbol-macro
#:defmacro
#:define-symbol-macro
#:define-script-symbol-macro
#:defmacro
-
+
;; lisp eval
#:lisp
;; lisp eval
#:lisp
-
- ;; iteration
- #:do
- #:dotimes
- #:dolist
- #:doeach
- #:while
-
+
;; v v v STUFF WE SHOULD PROBABLY MOVE TO OTHER LIBS v v v
;; v v v STUFF WE SHOULD PROBABLY MOVE TO OTHER LIBS v v v
-
- ;; CSS
- #:css
- #:css-to-string
- #:css-inline
- #:css-file
;; html generator for javascript
#:ps-html
;; html generator for javascript
#:ps-html
@@
-158,22
+159,31
@@
#:asin
#:atan
#:exp
#:asin
#:atan
#:exp
+ #:log
#:floor
#:expt
#:floor
#:expt
+ #:sqrt
#:round
#:random
#:oddp
#:evenp
#:ignore-errors
#:round
#:random
#:oddp
#:evenp
#:ignore-errors
+ #:concatenate
#:length
#:null
#:@
#:length
#:null
#:@
- ;;
librie
s
+ ;;
js runtime util
s
#:*ps-lisp-library*
#:mapcar
#:*ps-lisp-library*
#:mapcar
+ #:map-into
+ #:map
+ #:map-until
+ #:member
+ #:append
+ #:set-difference
))
))
- "All symbols consider
r
ed part of the Parenscript language.")
+ "All symbols considered part of the Parenscript language.")
(defpackage :parenscript
(:use :common-lisp)
(defpackage :parenscript
(:use :common-lisp)
@@
-185,16
+195,17
@@
;; compiler
#:compile-script
#:ps
;; compiler
#:compile-script
#:ps
+ #:ps-doc
#:ps*
#:ps-inline
#:ps-inline*
#:ps*
#:ps-inline
#:ps-inline*
-
+
;; for parenscript macro definition within lisp
#:defpsmacro
#:defmacro/ps
#:defmacro+ps
#:import-macros-from-lisp
;; for parenscript macro definition within lisp
#:defpsmacro
#:defmacro/ps
#:defmacro+ps
#:import-macros-from-lisp
-
+
;; gensym
#:ps-gensym
#:with-ps-gensyms
;; gensym
#:ps-gensym
#:with-ps-gensyms
@@
-213,15
+224,14
@@
;; deprecated interface
#:gen-js-name
;; deprecated interface
#:gen-js-name
- #:gen-js-name-string
#:with-unique-js-names
#:defjsmacro
#:js-compile
#:js-inline
#:js-inline*
#:with-unique-js-names
#:defjsmacro
#:js-compile
#:js-inline
#:js-inline*
- #:js-file
- #:js-script
- #:js-to-statement-strings
#:js
#:js*
))
#:js
#:js*
))
+
+(defpackage :parenscript-special-forms
+ (:use))