Emscripten: An LLVM-to-JavaScript Compiler
C C++ JavaScript Python Shell LLVM Other
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci Get sanity tests passing and on CI (#6300) Mar 13, 2018
cmake/Modules Reset minimum required CMake version to CMake 3.0.0, because the orig… Oct 24, 2017
docs Merge pull request #2151 from haneefmubarak/cleanup Mar 3, 2014
media remove extraneous eps since we have svg Mar 6, 2014
site Update docs about current installation issues (#6298) [ci skip] Mar 14, 2018
src fix wasm side module importing of global.Math; fixes #6365 (#6366) Mar 23, 2018
system emmalloc option (#6249) Mar 8, 2018
tests Emit memory initializer loader any time it's not in wasm (#6370) Mar 23, 2018
third_party Python 3 compatibility for WebIDL.py (#5799) Nov 20, 2017
tools ctor-eval fixes for wasm (#6356) Mar 22, 2018
.gitignore Add new option for file_packager.py to store metadata externally. May 8, 2015
.travis.yml Parallel other tests (#6150) Jan 30, 2018
AUTHORS Const was getting dropped from all types, it is now getting added. (#… Mar 20, 2018
CONTRIBUTING.md fix contributing link Sep 25, 2014
ChangeLog.markdown update Changelog [ci skip] Mar 13, 2018
Dockerfile Use Firefox headless mode for browser tests (#5901) Feb 5, 2018
LICENSE mention third_party in LICENSE Apr 13, 2016
README.md Merge branch 'patch-1' of github.com:dandv/emscripten into incoming Mar 24, 2014
em++ Allow Python 3 (#5967) Jan 11, 2018
em++.bat Fix python spawn scripts on Windows when the emscripten path contains… Aug 23, 2013
em++.py Sanity test fixes (#6167) Feb 9, 2018
em-config use print function (#5610) Oct 16, 2017
em-config.bat Fix python spawn scripts on Windows when the emscripten path contains… Aug 23, 2013
emar Allow Python 3 (#5967) Jan 11, 2018
emar.bat Fix python spawn scripts on Windows when the emscripten path contains… Aug 23, 2013
emar.py Python 3 compatibility: Use proper string types (#5792) Nov 17, 2017
embuilder.py emmalloc option (#6249) Mar 8, 2018
emcc Allow Python 3 (#5967) Jan 11, 2018
emcc.bat Fix python spawn scripts on Windows when the emscripten path contains… Aug 23, 2013
emcc.py Emit memory initializer loader any time it's not in wasm (#6370) Mar 23, 2018
emcmake Allow Python 3 (#5967) Jan 11, 2018
emcmake.bat Redirect emcmake calls to emconfigure. Feb 14, 2014
emcmake.py Add python2/3 shell execution wrappers for emcmake, emconfigure, emma… Jan 8, 2016
emconfigure Allow Python 3 (#5967) Jan 11, 2018
emconfigure.bat Fix python spawn scripts on Windows when the emscripten path contains… Aug 23, 2013
emconfigure.py Python 3 compatibility: Use except-as syntax (#5679) Oct 18, 2017
emlink.py use print function (#5610) Oct 16, 2017
emmake Allow Python 3 (#5967) Jan 11, 2018
emmake.bat Fix python spawn scripts on Windows when the emscripten path contains… Aug 23, 2013
emmake.py Python 3 compatibility: Use except-as syntax (#5679) Oct 18, 2017
emranlib Make emranlib, system/bin/sdl-config and system/bin/sdl2-config execu… Jan 11, 2016
emranlib.bat Fix python spawn scripts on Windows when the emscripten path contains… Aug 23, 2013
emrun Allow Python 3 (#5967) Jan 11, 2018
emrun.bat Added emrun utility that allows running .html files in a browser like… Dec 13, 2013
emrun.py Sanity test fixes (#6167) Feb 9, 2018
emscons Revert "**all: hard tabs, trailing newlines**" Mar 1, 2014
emscripten-version.txt 1.37.36 Mar 13, 2018
emscripten.py WebAssembly function cast emulation improvements (#6334) Mar 15, 2018
package.json update package.json Mar 3, 2014

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.