Title: Javascript Plugin
Author: 킽Ȃׂ

͂ȂɁH

V8 JavaScript Engine (http://code.google.com/p/v8/) ̋ggoChłB

Google {Ƃ̃R[h͌݊ɖ肪̂ŁANode.js (http://nodejs.org/) 
\[X (https://github.com/joyent/node) ɂ V8 gč\zĂ܂

RpC@

(1) c:\node  node.js 擾āAVisual Studio Ńrh

c:\node\build ȉɐ v8 Cû݂g܂̂ŁA
Ŝ\zKv͂܂B

 > vcbuild clean

ŁAvWFNgt@C͂̂ŁAnode.sln J v8 ̕Ηǂł

(2) javascript.sln JăRpC

c:\node QƂăvOC܂

VXeTv

̏ڍׂ manual.tjs / manual.js QƂĂB

O

EJavascript ̃O[oԂ͋ggŜɑ΂ĂP݂܂B
@
@Javascript p̃XNvg̎s͂̃O[oԏłȂA
@`ꂽt@NVNX̃O[oԂɓo^Ă܂B

ETJS2 ̃O[oԂ Javascript  "krkr" ŎQƂł܂B

EJavascript ̃O[oԂ TJS2  "jsglobal" ŎQƂł܂B

EAAȂǂ̃v~eBul͒lnɂȂ܂B
ETJS2  void  javascript  undefined ƑΉ܂
ETJS2  null  javascript  null ƑΉ܂
EIuWFNg݂͑ɌĂяo\ł

Scripts g

Javascript ̎sp\bh Scripts NXɊg܂B
ɂO Javascript t@CǂݍŎs\ɂȂ܂

ggNX javascriptvg^CvNX

gg̃NX javascript ̃vg^CvNXƂ
p\ȏԂňƂł܂B

EcreateTJSClass()ŁATJS̃NXIɕێ 
@JavascriptNX֐쐬邱Ƃł܂B

  tjsOverride() TJSCX^Xɑ΂Ē javascript \bh
  o^ł܂

  TJSCX^X callJS() Ƃ javascript CX^X
@\bh𖾎IɌĂяo߂g܂B

  TJSCX^Xł missing @\ݒ肳A݂Ȃo
@QƂꂽꍇ javascript CX^X̓oQƂ܂B
  TJSCX^X̃CxgĂяoɂꂪKp邽߁A
@TJSCX^Xɒ`ȂΎI javascript CX^X
@ꂪĂяo܂

  squirrel Ƃ͈قȂ肱̋@\Ŏ擾ggNX
  ggŐꂽCX^XԂꍇ̃bsO
@s܂̂łӂ

fobK@\

  enableDebugJS() ŃfobKLɂƁA
@O TCP/IPڑŃ[gfobO\ɂȂ܂B
@[gfobKƂ V8 t d8.exe g܂B

 d8 ̋N@
  > d8.exe --remote_debugger --debugger_port=5858

@fobKɂ Javascript ̎sfĂԂ͋ggŜ
@~ԂɂȂAʂ̍XVCxgȂǂ~̂ŒӂKvłB

@t Javascript sԂłȂԂ́Â܂܂ł̓fobKɑ΂
@A܂BTJS ŁAprocessDebugJS() IɌĂяo
@ʐMKv̂ŒӂĂB

CZX

̃vOĈ̃CZX͋gg{̂ɏĂB

Node's license follows:

====

Copyright Joyent, Inc. and other Node contributors. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.

====

This license applies to all parts of Node that are not externally
maintained libraries. The externally maintained libraries used by Node are:

- V8, located at deps/v8. V8's license follows:
  """
    This license applies to all parts of V8 that are not externally
    maintained libraries.  The externally maintained libraries used by V8
    are:

      - PCRE test suite, located in
        test/mjsunit/third_party/regexp-pcre.js.  This is based on the
        test suite from PCRE-7.3, which is copyrighted by the University
        of Cambridge and Google, Inc.  The copyright notice and license
        are embedded in regexp-pcre.js.

      - Layout tests, located in test/mjsunit/third_party.  These are
        based on layout tests from webkit.org which are copyrighted by
        Apple Computer, Inc. and released under a 3-clause BSD license.

      - Strongtalk assembler, the basis of the files assembler-arm-inl.h,
        assembler-arm.cc, assembler-arm.h, assembler-ia32-inl.h,
        assembler-ia32.cc, assembler-ia32.h, assembler-x64-inl.h,
        assembler-x64.cc, assembler-x64.h, assembler-mips-inl.h,
        assembler-mips.cc, assembler-mips.h, assembler.cc and assembler.h.
        This code is copyrighted by Sun Microsystems Inc. and released
        under a 3-clause BSD license.

      - Valgrind client API header, located at third_party/valgrind/valgrind.h
        This is release under the BSD license.

    These libraries have their own licenses; we recommend you read them,
    as their terms may differ from the terms below.

    Copyright 2006-2012, the V8 project authors. All rights reserved.
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are
    met:

        * Redistributions of source code must retain the above copyright
          notice, this list of conditions and the following disclaimer.
        * Redistributions in binary form must reproduce the above
          copyright notice, this list of conditions and the following
          disclaimer in the documentation and/or other materials provided
          with the distribution.
        * Neither the name of Google Inc. nor the names of its
          contributors may be used to endorse or promote products derived
          from this software without specific prior written permission.

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
