2 ;;;; Package definitions for the Parenscript
5 (eval-when (:compile-toplevel
:load-toplevel
)
6 ;; exports shared between PARENSCRIPT and PARENSCRIPT.JAVASCRIPT
7 (defparameter *shared-symbols-ps-js
*
44 #:*= #:/= #:%
= #:+= #:\
&= #:^
= #:\|
= #:~
=
65 ;; single argument statements
69 ;; single argument expressions
101 ;; conditional compilation (IE)
103 "Symbols exported from both the Parenscript and Javascript packages
104 that are also valid as Parenscript symbols for the corresponding script packages."))
106 (eval-when (:compile-toplevel
:load-toplevel
:execute
)
107 (defparameter *parenscript-lang-exports
*
109 *shared-symbols-ps-js
*
111 ;; function definition
132 #:define-symbol-macro
133 #:define-script-symbol-macro
152 ;; v v v STUFF WE SHOULD PROBABLY MOVE TO OTHER LIBS v v v
160 ;; html generator for javascript
166 "List of (uninterned) symbols. Contains all symbols considerred
167 part of the Parenscript language. These should be exported within
168 both the Lisp package and the script package for Parenscript."))
170 (defpackage :parenscript
173 #.
(cons :export
*shared-symbols-ps-js
*)
174 #.
(cons :export
*parenscript-lang-exports
*)
181 ;; for parenscript macro definition within lisp
185 #:import-macros-from-lisp
190 #:*ps-gensym-counter
*
192 ;; naming and namespaces
193 #:*obfuscate-identifiers
*
194 #:*package-prefix-style
*
197 ;; deprecated interface
200 #:with-unique-js-names
207 #:js-to-statement-strings