File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55(define deps '("base " ))
66
7- (define build-deps '() )
7+ (define build-deps
8+ '("racket-doc "
9+ "scribble-lib "
10+ "racketscript-compiler " ))
811
912(define pkg-desc "Documentation for the RacketScript compiler " )
1013(define pkg-authors '(vishesh stchang))
Original file line number Diff line number Diff line change 11#lang scribble/manual
22
3- @(require scribble/example
4- racketscript/interop
5- (for-label racket/base
6- racketscript/interop))
7-
8- @title{RacketScript-JavaScript FFI}
3+ @title[#:tag "rs-js-ffi " ]{The RacketScript-JavaScript FFI}
94
105RacketScript supports full interoperability with JavaScript. This section explains how JavaScript code is invoked in a RacketScript program.
116
12- @section[#:tag "raw " ]{The Main FFI Form}
7+ @section[#:tag "js-ffi " ]{The Main FFI Form}
138
149All JavaScript FFI calls begin with @racket[#%js-ffi], followed by a
1510symbol indicating the JavaScript grammar production to be generated.
Original file line number Diff line number Diff line change 1111 (author+email
"Stephen Chang " "[email protected] " #:obfuscate? #t ))
1212
1313RacketScript is an experimental lightweight Racket to JavaScript (ES6)
14- compiler. It aim to enable users to leverage both JavaScript's and
15- Racket's ecosystem, and make interoperability between clean and
14+ compiler. It allows programmers to use both JavaScript's and
15+ Racket's ecosystem, and makes interoperability between them clean and
1616smooth.
1717
1818@local-table-of-contents[]
You can’t perform that action at this time.
0 commit comments