Skip to content

Commit

Permalink
Added javascript s-expression syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
zitterbewegung committed Nov 8, 2008
1 parent 45d5301 commit f776e2e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
10 changes: 9 additions & 1 deletion js.scm
@@ -1,12 +1,20 @@
#lang scheme/base

(require "util.scm")
(require "util.scm"
(planet "javascript.ss" ("jaymccarthy" "javascript.plt" 1 2)))

(provide js-script-invoke
js-array
js-quote
js-call
js-call-on-load
;;Javascript s-expression syntax
js
javascript
javascript-marshal
javascript-unmarshal
javascript->string
string->javascriptx
)

(define (js-script-invoke . js-strs)
Expand Down
8 changes: 7 additions & 1 deletion leftparen.scm
Expand Up @@ -137,7 +137,13 @@
js-quote
js-call
js-call-on-load

js
javascript
javascript-marshal
javascript-unmarshal
javascript->string
string->javascript

;; html, pages, includes, etc
define-page
define-session-page
Expand Down

0 comments on commit f776e2e

Please sign in to comment.