|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| .circleci/ | H | 11-Sep-2020 | - | 515 | 506 |
| .github/ | H | 11-Sep-2020 | - | 49 | 44 |
| cmake/Modules/ | H | 11-Sep-2020 | - | 900 | 776 |
| docs/ | H | 03-May-2022 | - | 1,446 | 1,275 |
| media/ | H | 03-May-2022 | - | | |
| site/ | H | 11-Sep-2020 | - | 21,351 | 13,913 |
| src/ | H | 03-May-2022 | - | 2,183 | 2,122 |
| system/ | H | 11-Sep-2020 | - | 539,540 | 427,714 |
| tests/ | H | 03-May-2022 | - | 1,875,612 | 1,455,823 |
| third_party/ | H | 03-May-2022 | - | 45,101 | 31,715 |
| tools/ | H | 03-May-2022 | - | 23,476 | 17,584 |
| .clang-format | H A D | 11-Sep-2020 | 179 | 8 | 7 |
| .editorconfig | H A D | 11-Sep-2020 | 240 | 15 | 11 |
| .flake8 | H A D | 11-Sep-2020 | 444 | 17 | 16 |
| .gitattributes | H A D | 11-Sep-2020 | 430 | 14 | 12 |
| .gitignore | H A D | 11-Sep-2020 | 557 | 33 | 24 |
| .style.yapf | H A D | 11-Sep-2020 | 47 | 4 | 3 |
| AUTHORS | H A D | 11-Sep-2020 | 23.6 KiB | 508 | 505 |
| CONTRIBUTING.md | H A D | 11-Sep-2020 | 182 | 7 | 4 |
| ChangeLog.md | H A D | 11-Sep-2020 | 205.6 KiB | 4,160 | 3,819 |
| LICENSE | H A D | 11-Sep-2020 | 5 KiB | 103 | 79 |
| Makefile | H A D | 11-Sep-2020 | 507 | 18 | 10 |
| README.md | H A D | 11-Sep-2020 | 1.7 KiB | 42 | 30 |
| em++ | H A D | 03-May-2022 | 716 | 30 | 14 |
| em++.bat | H A D | 11-Sep-2020 | 267 | 12 | 9 |
| em++.py | H A D | 03-May-2022 | 484 | 18 | 9 |
| em-config | H A D | 03-May-2022 | 716 | 30 | 14 |
| em-config.bat | H A D | 11-Sep-2020 | 267 | 12 | 9 |
| em-config.py | H A D | 03-May-2022 | 963 | 36 | 21 |
| emar | H A D | 03-May-2022 | 716 | 30 | 14 |
| emar.bat | H A D | 11-Sep-2020 | 267 | 12 | 9 |
| emar.py | H A D | 03-May-2022 | 1.2 KiB | 41 | 18 |
| embuilder | H A D | 03-May-2022 | 716 | 30 | 14 |
| embuilder.bat | H A D | 11-Sep-2020 | 267 | 12 | 9 |
| embuilder.py | H A D | 03-May-2022 | 8.4 KiB | 275 | 226 |
| emcc | H A D | 03-May-2022 | 716 | 30 | 14 |
| emcc.bat | H A D | 11-Sep-2020 | 267 | 12 | 9 |
| emcc.py | H A D | 03-May-2022 | 137 KiB | 3,254 | 2,280 |
| emcmake | H A D | 03-May-2022 | 716 | 30 | 14 |
| emcmake.bat | H A D | 11-Sep-2020 | 267 | 12 | 9 |
| emcmake.py | H A D | 03-May-2022 | 851 | 35 | 19 |
| emconfigure | H A D | 03-May-2022 | 716 | 30 | 14 |
| emconfigure.bat | H A D | 11-Sep-2020 | 267 | 12 | 9 |
| emconfigure.py | H A D | 03-May-2022 | 1.4 KiB | 53 | 32 |
| emmake | H A D | 03-May-2022 | 716 | 30 | 14 |
| emmake.bat | H A D | 11-Sep-2020 | 267 | 12 | 9 |
| emmake.py | H A D | 03-May-2022 | 1.4 KiB | 54 | 32 |
| emranlib | H A D | 03-May-2022 | 716 | 30 | 14 |
| emranlib.bat | H A D | 11-Sep-2020 | 267 | 12 | 9 |
| emranlib.py | H A D | 03-May-2022 | 678 | 26 | 12 |
| emrun | H A D | 03-May-2022 | 716 | 30 | 14 |
| emrun.bat | H A D | 11-Sep-2020 | 267 | 12 | 9 |
| emrun.py | H A D | 03-May-2022 | 72.8 KiB | 1,804 | 1,384 |
| emscons | H A D | 03-May-2022 | 716 | 30 | 14 |
| emscons.bat | H A D | 11-Sep-2020 | 267 | 12 | 9 |
| emscons.py | H A D | 03-May-2022 | 587 | 22 | 14 |
| emscripten.py | H A D | 03-May-2022 | 38.7 KiB | 1,005 | 684 |
| emsize | H A D | 03-May-2022 | 716 | 30 | 14 |
| emsize.bat | H A D | 11-Sep-2020 | 267 | 12 | 9 |
| emsize.py | H A D | 03-May-2022 | 2.5 KiB | 84 | 51 |
| package-lock.json | H A D | 11-Sep-2020 | 37.7 KiB | 1,054 | 1,053 |
| package.json | H A D | 11-Sep-2020 | 276 | 15 | 14 |
README.md
1![emscripten logo](media/switch_logo.png)
2
3[![CircleCI](https://circleci.com/gh/emscripten-core/emscripten.svg?style=svg)](https://circleci.com/gh/emscripten-core/emscripten/tree/master)
4
5Main project page: <http://emscripten.org>
6
7Overview
8--------
9
10Emscripten compiles C and C++ to [WebAssembly](https://webassembly.org/) using
11[LLVM](https://en.wikipedia.org/wiki/LLVM) and
12[Binaryen](https://github.com/WebAssembly/binaryen/). Emscripten output can run
13on the Web, in Node.js, and in
14[wasm runtimes](https://v8.dev/blog/emscripten-standalone-wasm#running-in-wasm-runtimes).
15
16Emscripten provides Web support for popular portable APIs such as OpenGL and
17SDL2, allowing complex graphical native applications to be ported, such as
18the [Unity game engine](https://docs.unity3d.com/Manual/webgl-gettingstarted.html)
19and [Google Earth](https://blog.chromium.org/2019/06/webassembly-brings-google-earth-to-more.html).
20It can probably port your codebase, too!
21
22While Emscripten mostly focuses on compiling C and C++ using
23[Clang](https://clang.llvm.org/), it can be integrated with other LLVM-using
24compilers (for example, Rust has Emscripten integration, with the
25`wasm32-unknown-emscripten` and `asmjs-unknown-emscripten` targets).
26
27License
28-------
29
30Emscripten is available under 2 licenses, the MIT license and the
31University of Illinois/NCSA Open Source License.
32
33Both are permissive open source licenses, with little if any
34practical difference between them.
35
36The reason for offering both is that (1) the MIT license is
37well-known, while (2) the University of Illinois/NCSA Open Source
38License allows Emscripten's code to be integrated upstream into
39LLVM, which uses that license, should the opportunity arise.
40
41See `LICENSE` for the full content of the licenses.
42