Skip to content
ChakraCore is the core part of the Chakra JavaScript engine that powers Microsoft Edge
JavaScript C++ C WebAssembly Objective-C Assembly Other
Branch: master
Clone or download

Latest commit

akroshg Destructuring declaration should not produce value (#6330)
Without this we had problem when we are producing returns from the global function when
they are marked as fscrReturnExpression, like in eval case
Fixed this in MustProduceValue function to skip that statement.
Fixes OS : 23989602
Latest commit bd79dba May 14, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Build add ChakraCoreWindows.h to nuget include path Jun 17, 2019
bin Full build and testing directly from CMake (#6393) May 13, 2020
deps/Chakra.ICU Update Chakra.ICU to support ICU 62.1 Aug 28, 2018
jenkins Fix EOL violations introduced by commits that came into master via a … Feb 28, 2019
lib Destructuring declaration should not produce value (#6330) May 14, 2020
manifests [1.11>master] [1.10>1.11] [MERGE #5787 @Cellule] Merge changes from W… Oct 23, 2018
pal Embed ICU via CMake May 1, 2020
test Destructuring declaration should not produce value (#6330) May 14, 2020
tools Embed ICU via CMake May 1, 2020
.gitattributes Revert "Update .gitattributes" Dec 21, 2017
.gitignore Full build and testing directly from CMake (#6393) May 13, 2020
BUILD.gn fix copyright headers Jan 30, 2019
CMakeLists.txt Merge branch 'master' into warnings-galore May 13, 2020
CONTRIBUTING.md Update CONTRIBUTING.md Feb 25, 2019
LICENSE.txt LICENSE: Remove project name from line 1 Nov 28, 2017
README.md Add vpckg installation instructions (#6370) Apr 10, 2020
RegenAllByteCode.cmd Enable Bytecode regen on Linux/MacOS (#6425) Apr 19, 2020
RegenAllByteCodeNoBuild.cmd Enable Bytecode regen on Linux/MacOS (#6425) Apr 19, 2020
THIRD-PARTY-NOTICES.txt add third party notice May 7, 2018
build.sh Full build and testing directly from CMake (#6393) May 13, 2020
netci.groovy [1.11>master] [1.10>1.11] [MERGE #5758 @sethbrenith] Use different ma… Oct 5, 2018

README.md

ChakraCore

Join the chat at https://gitter.im/Microsoft/ChakraCore Discord Chat Licensed under the MIT License PR's Welcome

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 10 (x64) Build Status Build Status Build Status
Windows 10 (x86) Build Status Build Status Build Status
Windows 10 (ARM) Build Status Build Status Build Status
Windows 10 (ARM64) Build Status Build Status Build Status
Ubuntu 16.04 (x64)[a] Build Status Build Status Build Status
Ubuntu 16.04 (x64)[s] Build Status Build Status Build Status
Ubuntu 16.04 (x64)[s][n] * Build Status *
macOS 10.13 (x64)[a] Build Status Build Status Build Status
macOS 10.13 (x64)[s][n] * Build Status *

[a] Static | [s] Shared | [n] NoJIT | * Omitted

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 and additional details.

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 2015 or 2017 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, see Getting ChakraCore binaries for pre-built ChakraCore binaries.

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().

Alternatively, if you are using the vcpkg dependency manager you can download and install ChakraCore with CMake integration in a single command:

  • vcpkg install chakracore

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 opencode@microsoft.com 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

If you have questions about ChakraCore, or you would like to reach out to us about an issue you're having or for development advice as you work on a ChakraCore issue, you can reach us as follows:

  • Open an issue and prefix the issue title with [Question]. See Question tag for already-opened questions.
  • Discuss ChakraCore with the team and the community on our Gitter Channel.
  • You can also start private messages with individual ChakraCore developers via Gitter.
You can’t perform that action at this time.