Emscripten: An LLVM-to-JavaScript Compiler
Перейти к файлу
Alon Zakai b2dd6b7530 simplify PRECISE_F32=2 client code 2015-09-20 16:24:47 -07:00
cmake/Modules Advertise CMAKE_SYSTEM_PROCESSOR=x86 when building with CMake (as opposed to CMAKE_SYSTEM_PROCESSOR=x86_64 for 64-bit platform). Helps with OpenCV CMake build detection. 2015-08-16 21:01:41 +03:00
docs Merge pull request #2151 from haneefmubarak/cleanup 2014-03-03 13:50:09 -08:00
media remove extraneous eps since we have svg 2014-03-06 15:39:23 -08:00
site remove the deprecated --compression option 2015-09-20 15:54:04 -07:00
src Add missing GL_HALF_FLOAT to WebGL2 2015-09-18 11:31:50 -04:00
system Document workaround needed for issue #3495. 2015-09-15 00:34:55 +03:00
tests refactor code mods code to use --separate-asm, fixes #3797 2015-09-20 16:18:51 -07:00
third_party Add node externs for Closure 2015-07-22 00:00:55 +03:00
tools remove the deprecated --compression option 2015-09-20 15:54:04 -07:00
.gitignore Add new option for file_packager.py to store metadata externally. 2015-05-08 09:29:42 +08:00
AUTHORS Merge branch 'fix/glfwcreatewindow-failure' of https://github.com/gouletr/emscripten into incoming 2015-09-11 11:32:19 -07:00
CONTRIBUTING.md fix contributing link 2014-09-25 16:27:50 -07:00
ChangeLog.markdown 1.34.3 2015-07-15 17:23:03 -07:00
LICENSE update year to 2014 2014-02-22 12:12:34 -08:00
README.md Merge branch 'patch-1' of github.com:dandv/emscripten into incoming 2014-03-24 14:06:49 -07:00
em++ do not use an env var to communicate c++ mode 2015-01-01 19:48:54 -08:00
em++.bat Fix python spawn scripts on Windows when the emscripten path contains spaces, like C:\Program Files\emscripten. 2013-08-23 16:05:53 +03:00
em-config Updated scripts to call python2 directly rather than relying on python symlink pointing to the right place. See PEP394 for details on why this should be OK. 2012-12-19 18:06:48 -05:00
em-config.bat Fix python spawn scripts on Windows when the emscripten path contains spaces, like C:\Program Files\emscripten. 2013-08-23 16:05:53 +03:00
emar Remove unnecessary relpath in emar. Fixes #3525. 2015-06-10 11:38:17 +03:00
emar.bat Fix python spawn scripts on Windows when the emscripten path contains spaces, like C:\Program Files\emscripten. 2013-08-23 16:05:53 +03:00
embuilder.py In tests/parallel_test_core.py, prebuild Emscripten cache before starting the parallel run of the whole suite to avoid a disk access race condition where each thread would start building the cache separately. 2015-09-14 21:23:02 +03:00
emcc simplify PRECISE_F32=2 client code 2015-09-20 16:24:47 -07:00
emcc.bat Fix python spawn scripts on Windows when the emscripten path contains spaces, like C:\Program Files\emscripten. 2013-08-23 16:05:53 +03:00
emcc.py Remove executable permissions on simple files 2013-05-03 13:18:26 -07:00
emcmake Fix discrepancy in emcmake vs emconfigure scripts that CMAKE_CROSSCOMPILING_EMULATOR was was set only if emcmake was called, and not when emconfigure was used. The intention is that emcmake is just an alias to emconfigure. 2015-09-15 13:33:39 +03:00
emcmake.bat Redirect emcmake calls to emconfigure. 2014-02-14 15:24:19 +01:00
emconfigure Fix discrepancy in emcmake vs emconfigure scripts that CMAKE_CROSSCOMPILING_EMULATOR was was set only if emcmake was called, and not when emconfigure was used. The intention is that emcmake is just an alias to emconfigure. 2015-09-15 13:33:39 +03:00
emconfigure.bat Fix python spawn scripts on Windows when the emscripten path contains spaces, like C:\Program Files\emscripten. 2013-08-23 16:05:53 +03:00
emlink.py make emlink.py executable 2014-01-29 18:18:14 -08:00
emmake make emmake/emconfigure notifications less scary 2015-02-08 21:27:58 -08:00
emmake.bat Fix python spawn scripts on Windows when the emscripten path contains spaces, like C:\Program Files\emscripten. 2013-08-23 16:05:53 +03:00
emranlib Updated scripts to call python2 directly rather than relying on python symlink pointing to the right place. See PEP394 for details on why this should be OK. 2012-12-19 18:06:48 -05:00
emranlib.bat Fix python spawn scripts on Windows when the emscripten path contains spaces, like C:\Program Files\emscripten. 2013-08-23 16:05:53 +03:00
emrun Tune emrun to avoid various Firefox network update checks with the clean profile. 2015-09-07 21:08:08 +03:00
emrun.bat Added emrun utility that allows running .html files in a browser like they were normal executables. For more information, see https://groups.google.com/forum/#!topic/emscripten-discuss/t2juu3q1H8E . 2013-12-14 01:19:22 +02:00
emscons Add new wrapper emscons, which sets EMSCRIPTEN_TOOL_PATH in environment. 2013-05-20 10:23:42 +02:00
emscripten-version.txt 1.34.9 2015-09-18 15:18:43 -07:00
emscripten.py Add special SIMD_Int32x4_fromBool64x2Bits() conversion function to enable Float64x2 code to work in node.js polyfill. 2015-09-15 14:43:28 +03:00
package.json update package.json 2014-03-03 13:58:28 -08:00

README.md

emscripten logo

Emscripten is an LLVM-to-JavaScript compiler. It takes LLVM bitcode - which can be generated from C/C++, using llvm-gcc (DragonEgg) or clang, or any other language that can be converted into LLVM - and compiles that into JavaScript, which can be run on the web (or anywhere else JavaScript can run).

Links to demos, tutorial, FAQ, etc: https://github.com/kripken/emscripten/wiki

Main project page: http://emscripten.org

License

Emscripten is available under 2 licenses, the MIT license and the University of Illinois/NCSA Open Source License.

Both are permissive open source licenses, with little if any practical difference between them.

The reason for offering both is that (1) the MIT license is well-known, while (2) the University of Illinois/NCSA Open Source License allows Emscripten's code to be integrated upstream into LLVM, which uses that license, should the opportunity arise.

See LICENSE for the full content of the licenses.