暫無描述

Michael Ferris dff977ca86 Disable warning for catch.hpp that happens on dev15 9 年之前
Build dff977ca86 Disable warning for catch.hpp that happens on dev15 9 年之前
bin dff977ca86 Disable warning for catch.hpp that happens on dev15 9 年之前
jenkins de35821c26 [1.4>master] [MERGE #2266 @pre10der89] ChakraCore NuGet Package Implementation 9 年之前
lib 65122e8cf8 Fixing a build break in AsmJS file due to the removal of safethreadinit flag 9 年之前
manifests 9b249cd842 Enable ETW manifests for ChakraCore 9 年之前
pal 8d3d7c81a5 [MERGE #2460 @obastemur] xplat: make sure linker doesn't pass gluing sub libs 9 年之前
test 0ca0ad440e [MERGE #2539 @akroshg] this is referenced in destructuring. 9 年之前
tools 732a5e3352 swb: some annotation fixes 9 年之前
.gitattributes 3205b62aa7 Merge from master 9 年之前
.gitignore 4dc9dd9e40 [1.4>master] [MERGE #2486 @ThomsonTan] Discard extra bits for left shift on arm 9 年之前
CMakeLists.txt 6a0a7e42b2 osx: make 10.9 default minimum target 9 年之前
CONTRIBUTING.md f2a72ce083 Add a copy of the security notice to CONTRIBUTING.md. 10 年之前
LICENSE.txt 5d8406741f Initial commit 10 年之前
README.md f9ede17ec0 Add link to External Issues in README.md 9 年之前
RegenAllByteCode.cmd 9049b2ca99 Add RegenAllByteCode.cmd script 9 年之前
THIRD-PARTY-NOTICES.txt 19263c1706 Regenerate ByteCode headers 9 年之前
build.sh 23b38fa332 xplat: update default output path to 'out/' 9 年之前
netci.groovy a4b51b48ec [MERGE #2443 @obastemur] xplat: update default output path to 'out/' 9 年之前

README.md

ChakraCore

ChakraCore is the core part of Chakra, the high-performance JavaScript engine that powers Microsoft Edge and Windows applications written in HTML/CSS/JS. ChakraCore supports Just-in-time (JIT) compilation of JavaScript for x86/x64/ARM, garbage collection, and a wide range of the latest JavaScript features. ChakraCore also supports the JavaScript Runtime (JSRT) APIs, which allows you to easily embed ChakraCore in your applications.

You can stay up-to-date on progress by following the MSEdge developer blog.

Build Status

Debug Test Release
Windows (x64) x64debug x64test x64release
Windows (x86) x86debug x86test x86release
Windows (ARM) armdebug armtest armrelease
Ubuntu 16.04 (x64) linuxdebug linuxtest linuxrelease
Ubuntu 16.04 (x64 static) linuxsdebug linuxstest linuxsrelease
OS X 10.9 (x64 static) osxsdebug osxstest osxsrelease

If you see badges reading "Build: Unknown" it is likely because a build was skipped due to changes being only in files known not to affect the health of the build.

Above is a table of our rolling build status. We run additional builds on a daily basis. See Build Status for the status of all builds.

Security

If you believe you have found a security issue in ChakraCore, please share it with us privately following the guidance at the Microsoft Security TechCenter. Reporting it via this channel helps minimize risk to projects built with ChakraCore.

Documentation

Building ChakraCore

You can build ChakraCore on Windows 7 SP1 or above, and Windows Server 2008 R2 or above, with either Visual Studio 2013 or 2015 with C++ support installed. Once you have Visual Studio installed:

  • Clone ChakraCore through git clone https://github.com/Microsoft/ChakraCore.git
  • Open Build\Chakra.Core.sln in Visual Studio
  • Build Solution

More details in Building ChakraCore.

Alternatively, you can get pre-built ChakraCore binaries from our NuGet Packages.

Using ChakraCore

Once built, you have a few options for how you can use ChakraCore:

  • The most basic is to test the engine is running correctly with the ch.exe binary. This app is a lightweight hosting of JSRT that you can use to run small applications. After building, you can find this binary in:
    • Build\VcBuild\bin\${platform}_${configuration}
    • (e.g. Build\VcBuild\bin\x64_debug)
  • You can embed ChakraCore in your applications - see documentation and samples.
  • Finally, you can also use ChakraCore as the JavaScript engine in Node. You can learn more by reading how to use Chakra as Node's JS engine

A note about using ChakraCore: ChakraCore is the foundational JavaScript engine, but it does not include the external APIs that make up the modern JavaScript development experience. For example, DOM APIs like document.write() are additional APIs that are not available by default and would need to be provided. For debugging, you may instead want to use print().

Contribute

Contributions to ChakraCore are welcome. Here is how you can contribute to ChakraCore:

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Please refer to Contribution guidelines for more details.

License

Code licensed under the MIT License.

Roadmap

For details on our planned features and future direction please refer to our roadmap.

Contact us

For questions about ChakraCore, you can reach us on Gitter or open an issue and prefix the issue title with [Question]. See Question tag for already-opened questions.