Нема описа

Xan López 2d932120c0 linux: use find_library to find the sodium library пре 10 година
Build 55448fbee3 Fix incremental LTCG disabling on TFS builds пре 10 година
bin 2d932120c0 linux: use find_library to find the sodium library пре 10 година
lib 98ef50aee1 Fix build errors on Linux after merging master пре 10 година
pal f22ac850f6 Incorporate code review feedback пре 10 година
test 1e6810e705 [MERGE #295] Uint32 constant пре 10 година
.gitattributes 5d8406741f Initial commit пре 10 година
.gitignore 783e0c2f5b build lib/common/DataStructures пре 10 година
CMakeLists.txt be2d8bd3ee linux: add a '\n' at the end of the main CMakeLists.txt пре 10 година
CODE_OF_CONDUCT.md 30afe7bff6 [MERGE #67] Fix typo in CoC пре 10 година
CONTRIBUTING.md 7a25f4ef1a Fix up `Your first PR` language re @ashleygwilliams feedback пре 10 година
LICENSE.txt 5d8406741f Initial commit пре 10 година
README.md 482f058f42 Add link in README to issues tagged as Question пре 10 година
THIRD-PARTY-NOTICES.txt 5d8406741f Initial commit пре 10 година
build.sh f22ac850f6 Incorporate code review feedback пре 10 година
jenkins.buildall.cmd 5d8406741f Initial commit пре 10 година
jenkins.buildone.cmd 5d8406741f Initial commit пре 10 година
jenkins.check_copyright.py 2b765347f6 Fix various spelling errors. пре 10 година
jenkins.check_copyright.sh 0a8ed5c062 linux: exclude pal from copyright check пре 10 година
jenkins.check_eol.sh d44c44401f Add a Jenkins task to check for a correct Microsoft Copyright notice in all modified source files. Closes #11. пре 10 година
jenkins.check_file_eol.sh f2955085e9 [MERGE #37] Add a Jenkins task to check for correct Microsoft Copyright notices. пре 10 година
jenkins.testall.cmd 5d8406741f Initial commit пре 10 година
jenkins.testone.cmd 5d8406741f Initial commit пре 10 година
netci.groovy 16914bedf7 Move to auto image пре 10 година

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
x86 x86debug x86test x86release
x64 x64debug x64test x64release
arm armdebug armtest armrelease

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.

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+output] (eg. 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:

Please refer to Contribution guidelines and the Code of Conduct for more details.

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.