@elixir-playground/otp-29.1.3 0.0.0-stage → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/LICENSE +73 -0
  2. package/NOTICE.md +24 -0
  3. package/beam.emu.mjs +2 -0
  4. package/beam.mjs +2 -0
  5. package/beam.wasm +0 -0
  6. package/erl.js +14 -0
  7. package/fs/bundles/0.tar +0 -0
  8. package/fs/bundles/1.tar +0 -0
  9. package/fs/bundles/10.tar +0 -0
  10. package/fs/bundles/100.tar +0 -0
  11. package/fs/bundles/101.tar +0 -0
  12. package/fs/bundles/11.tar +0 -0
  13. package/fs/bundles/12.tar +0 -0
  14. package/fs/bundles/13.tar +0 -0
  15. package/fs/bundles/14.tar +0 -0
  16. package/fs/bundles/15.tar +0 -0
  17. package/fs/bundles/16.tar +0 -0
  18. package/fs/bundles/17.tar +0 -0
  19. package/fs/bundles/18.tar +0 -0
  20. package/fs/bundles/19.tar +0 -0
  21. package/fs/bundles/2.tar +0 -0
  22. package/fs/bundles/20.tar +0 -0
  23. package/fs/bundles/21.tar +0 -0
  24. package/fs/bundles/22.tar +0 -0
  25. package/fs/bundles/23.tar +0 -0
  26. package/fs/bundles/24.tar +0 -0
  27. package/fs/bundles/25.tar +0 -0
  28. package/fs/bundles/26.tar +0 -0
  29. package/fs/bundles/27.tar +0 -0
  30. package/fs/bundles/28.tar +0 -0
  31. package/fs/bundles/29.tar +0 -0
  32. package/fs/bundles/3.tar +0 -0
  33. package/fs/bundles/30.tar +0 -0
  34. package/fs/bundles/31.tar +0 -0
  35. package/fs/bundles/32.tar +0 -0
  36. package/fs/bundles/33.tar +0 -0
  37. package/fs/bundles/34.tar +0 -0
  38. package/fs/bundles/35.tar +0 -0
  39. package/fs/bundles/36.tar +0 -0
  40. package/fs/bundles/37.tar +0 -0
  41. package/fs/bundles/38.tar +0 -0
  42. package/fs/bundles/39.tar +0 -0
  43. package/fs/bundles/4.tar +0 -0
  44. package/fs/bundles/40.tar +0 -0
  45. package/fs/bundles/41.tar +0 -0
  46. package/fs/bundles/42.tar +0 -0
  47. package/fs/bundles/43.tar +0 -0
  48. package/fs/bundles/44.tar +0 -0
  49. package/fs/bundles/45.tar +0 -0
  50. package/fs/bundles/46.tar +0 -0
  51. package/fs/bundles/47.tar +0 -0
  52. package/fs/bundles/48.tar +0 -0
  53. package/fs/bundles/49.tar +0 -0
  54. package/fs/bundles/5.tar +0 -0
  55. package/fs/bundles/50.tar +0 -0
  56. package/fs/bundles/51.tar +0 -0
  57. package/fs/bundles/52.tar +0 -0
  58. package/fs/bundles/53.tar +0 -0
  59. package/fs/bundles/54.tar +0 -0
  60. package/fs/bundles/55.tar +0 -0
  61. package/fs/bundles/56.tar +0 -0
  62. package/fs/bundles/57.tar +0 -0
  63. package/fs/bundles/58.tar +0 -0
  64. package/fs/bundles/59.tar +0 -0
  65. package/fs/bundles/6.tar +0 -0
  66. package/fs/bundles/60.tar +0 -0
  67. package/fs/bundles/61.tar +0 -0
  68. package/fs/bundles/62.tar +0 -0
  69. package/fs/bundles/63.tar +0 -0
  70. package/fs/bundles/64.tar +0 -0
  71. package/fs/bundles/65.tar +0 -0
  72. package/fs/bundles/66.tar +0 -0
  73. package/fs/bundles/67.tar +0 -0
  74. package/fs/bundles/68.tar +0 -0
  75. package/fs/bundles/69.tar +0 -0
  76. package/fs/bundles/7.tar +0 -0
  77. package/fs/bundles/70.tar +0 -0
  78. package/fs/bundles/71.tar +0 -0
  79. package/fs/bundles/72.tar +0 -0
  80. package/fs/bundles/73.tar +0 -0
  81. package/fs/bundles/74.tar +0 -0
  82. package/fs/bundles/75.tar +0 -0
  83. package/fs/bundles/76.tar +0 -0
  84. package/fs/bundles/77.tar +0 -0
  85. package/fs/bundles/78.tar +0 -0
  86. package/fs/bundles/79.tar +0 -0
  87. package/fs/bundles/8.tar +0 -0
  88. package/fs/bundles/80.tar +0 -0
  89. package/fs/bundles/81.tar +0 -0
  90. package/fs/bundles/82.tar +0 -0
  91. package/fs/bundles/83.tar +0 -0
  92. package/fs/bundles/84.tar +0 -0
  93. package/fs/bundles/85.tar +0 -0
  94. package/fs/bundles/86.tar +0 -0
  95. package/fs/bundles/87.tar +0 -0
  96. package/fs/bundles/88.tar +0 -0
  97. package/fs/bundles/89.tar +0 -0
  98. package/fs/bundles/9.tar +0 -0
  99. package/fs/bundles/90.tar +0 -0
  100. package/fs/bundles/91.tar +0 -0
  101. package/fs/bundles/92.tar +0 -0
  102. package/fs/bundles/93.tar +0 -0
  103. package/fs/bundles/94.tar +0 -0
  104. package/fs/bundles/95.tar +0 -0
  105. package/fs/bundles/96.tar +0 -0
  106. package/fs/bundles/97.tar +0 -0
  107. package/fs/bundles/98.tar +0 -0
  108. package/fs/bundles/99.tar +0 -0
  109. package/fs/manifest.json +1 -0
  110. package/index.d.ts +4 -0
  111. package/index.js +58 -0
  112. package/licenses/Erlang_OTP-29.1.3/LICENSE.txt +178 -0
  113. package/licenses/OpenSSL-3.0.15/LICENSE.txt +177 -0
  114. package/licenses/STL-msvc-build-tools-14.50/LICENSE-Apache2 +201 -0
  115. package/licenses/STL-msvc-build-tools-14.50/LICENSE-Boost +23 -0
  116. package/licenses/Unicode_Character_Database-17.0.0/Unicode-3.0.txt +39 -0
  117. package/licenses/compiler-rt__Emscripten_s_-6.0.2/LICENSE.TXT +311 -0
  118. package/licenses/elixir-playground-playground/LICENSE +73 -0
  119. package/licenses/elixir-playground-playground/NOTICE +11 -0
  120. package/licenses/emscripten-6.0.2/LICENSE +102 -0
  121. package/licenses/index.json +138 -0
  122. package/licenses/musl__Emscripten_s_-6.0.2/COPYRIGHT +193 -0
  123. package/licenses/ncurses-6.5/COPYING +29 -0
  124. package/licenses/pcre2-10.47/LICENCE +104 -0
  125. package/licenses/popcorn-a64cbbc23cf1/Apache-2.0.txt +73 -0
  126. package/licenses/ryu-4c0618b0e44f7ef027ebae05d2cc7812048f7c8f/LICENSE-Apache2 +201 -0
  127. package/licenses/ryu-4c0618b0e44f7ef027ebae05d2cc7812048f7c8f/LICENSE-Boost +23 -0
  128. package/licenses/zlib-1.3.2/Zlib.txt +11 -0
  129. package/node.d.ts +4 -0
  130. package/node.js +16 -0
  131. package/package.json +64 -4
  132. package/README.md +0 -3
@@ -0,0 +1,193 @@
1
+ musl as a whole is licensed under the following standard MIT license:
2
+
3
+ ----------------------------------------------------------------------
4
+ Copyright © 2005-2020 Rich Felker, et al.
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining
7
+ a copy of this software and associated documentation files (the
8
+ "Software"), to deal in the Software without restriction, including
9
+ without limitation the rights to use, copy, modify, merge, publish,
10
+ distribute, sublicense, and/or sell copies of the Software, and to
11
+ permit persons to whom the Software is furnished to do so, subject to
12
+ the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be
15
+ included in all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
+ ----------------------------------------------------------------------
25
+
26
+ Authors/contributors include:
27
+
28
+ A. Wilcox
29
+ Ada Worcester
30
+ Alex Dowad
31
+ Alex Suykov
32
+ Alexander Monakov
33
+ Andre McCurdy
34
+ Andrew Kelley
35
+ Anthony G. Basile
36
+ Aric Belsito
37
+ Arvid Picciani
38
+ Bartosz Brachaczek
39
+ Benjamin Peterson
40
+ Bobby Bingham
41
+ Boris Brezillon
42
+ Brent Cook
43
+ Chris Spiegel
44
+ Clément Vasseur
45
+ Daniel Micay
46
+ Daniel Sabogal
47
+ Daurnimator
48
+ David Carlier
49
+ David Edelsohn
50
+ Denys Vlasenko
51
+ Dmitry Ivanov
52
+ Dmitry V. Levin
53
+ Drew DeVault
54
+ Emil Renner Berthing
55
+ Fangrui Song
56
+ Felix Fietkau
57
+ Felix Janda
58
+ Gianluca Anzolin
59
+ Hauke Mehrtens
60
+ He X
61
+ Hiltjo Posthuma
62
+ Isaac Dunham
63
+ Jaydeep Patil
64
+ Jens Gustedt
65
+ Jeremy Huntwork
66
+ Jo-Philipp Wich
67
+ Joakim Sindholt
68
+ John Spencer
69
+ Julien Ramseier
70
+ Justin Cormack
71
+ Kaarle Ritvanen
72
+ Khem Raj
73
+ Kylie McClain
74
+ Leah Neukirchen
75
+ Luca Barbato
76
+ Luka Perkov
77
+ Lynn Ochs
78
+ M Farkas-Dyck (Strake)
79
+ Mahesh Bodapati
80
+ Markus Wichmann
81
+ Masanori Ogino
82
+ Michael Clark
83
+ Michael Forney
84
+ Mikhail Kremnyov
85
+ Natanael Copa
86
+ Nicholas J. Kain
87
+ orc
88
+ Pascal Cuoq
89
+ Patrick Oppenlander
90
+ Petr Hosek
91
+ Petr Skocik
92
+ Pierre Carrier
93
+ Reini Urban
94
+ Rich Felker
95
+ Richard Pennington
96
+ Ryan Fairfax
97
+ Samuel Holland
98
+ Segev Finer
99
+ Shiz
100
+ sin
101
+ Solar Designer
102
+ Stefan Kristiansson
103
+ Stefan O'Rear
104
+ Szabolcs Nagy
105
+ Timo Teräs
106
+ Trutz Behn
107
+ Will Dietz
108
+ William Haddon
109
+ William Pitcock
110
+
111
+ Portions of this software are derived from third-party works licensed
112
+ under terms compatible with the above MIT license:
113
+
114
+ The TRE regular expression implementation (src/regex/reg* and
115
+ src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
116
+ under a 2-clause BSD license (license text in the source files). The
117
+ included version has been heavily modified by Rich Felker in 2012, in
118
+ the interests of size, simplicity, and namespace cleanliness.
119
+
120
+ Much of the math library code (src/math/* and src/complex/*) is
121
+ Copyright © 1993,2004 Sun Microsystems or
122
+ Copyright © 2003-2011 David Schultz or
123
+ Copyright © 2003-2009 Steven G. Kargl or
124
+ Copyright © 2003-2009 Bruce D. Evans or
125
+ Copyright © 2008 Stephen L. Moshier or
126
+ Copyright © 2017-2018 Arm Limited
127
+ and labelled as such in comments in the individual source files. All
128
+ have been licensed under extremely permissive terms.
129
+
130
+ The ARM memcpy code (src/string/arm/memcpy.S) is Copyright © 2008
131
+ The Android Open Source Project and is licensed under a two-clause BSD
132
+ license. It was taken from Bionic libc, used on Android.
133
+
134
+ The AArch64 memcpy and memset code (src/string/aarch64/*) are
135
+ Copyright © 1999-2019, Arm Limited.
136
+
137
+ The implementation of DES for crypt (src/crypt/crypt_des.c) is
138
+ Copyright © 1994 David Burren. It is licensed under a BSD license.
139
+
140
+ The implementation of blowfish crypt (src/crypt/crypt_blowfish.c) was
141
+ originally written by Solar Designer and placed into the public
142
+ domain. The code also comes with a fallback permissive license for use
143
+ in jurisdictions that may not recognize the public domain.
144
+
145
+ The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
146
+ Lynn Ochs and is licensed under an MIT-style license.
147
+
148
+ The x86_64 port was written by Nicholas J. Kain and is licensed under
149
+ the standard MIT terms.
150
+
151
+ The mips and microblaze ports were originally written by Richard
152
+ Pennington for use in the ellcc project. The original code was adapted
153
+ by Rich Felker for build system and code conventions during upstream
154
+ integration. It is licensed under the standard MIT terms.
155
+
156
+ The mips64 port was contributed by Imagination Technologies and is
157
+ licensed under the standard MIT terms.
158
+
159
+ The powerpc port was also originally written by Richard Pennington,
160
+ and later supplemented and integrated by John Spencer. It is licensed
161
+ under the standard MIT terms.
162
+
163
+ All other files which have no copyright comments are original works
164
+ produced specifically for use as part of this library, written either
165
+ by Rich Felker, the main author of the library, or by one or more
166
+ contibutors listed above. Details on authorship of individual files
167
+ can be found in the git version control history of the project. The
168
+ omission of copyright and license comments in each file is in the
169
+ interest of source tree size.
170
+
171
+ In addition, permission is hereby granted for all public header files
172
+ (include/* and arch/*/bits/*) and crt files intended to be linked into
173
+ applications (crt/*, ldso/dlstart.c, and arch/*/crt_arch.h) to omit
174
+ the copyright notice and permission notice otherwise required by the
175
+ license, and to use these files without any requirement of
176
+ attribution. These files include substantial contributions from:
177
+
178
+ Bobby Bingham
179
+ John Spencer
180
+ Nicholas J. Kain
181
+ Rich Felker
182
+ Richard Pennington
183
+ Stefan Kristiansson
184
+ Szabolcs Nagy
185
+
186
+ all of whom have explicitly granted such permission.
187
+
188
+ This file previously contained text expressing a belief that most of
189
+ the files covered by the above exception were sufficiently trivial not
190
+ to be subject to copyright, resulting in confusion over whether it
191
+ negated the permissions granted in the license. In the spirit of
192
+ permissive licensing, and of not having licensing issues being an
193
+ obstacle to adoption, that text has been removed.
@@ -0,0 +1,29 @@
1
+ Copyright 2018-2023,2024 Thomas E. Dickey
2
+ Copyright 1998-2017,2018 Free Software Foundation, Inc.
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a
5
+ copy of this software and associated documentation files (the
6
+ "Software"), to deal in the Software without restriction, including
7
+ without limitation the rights to use, copy, modify, merge, publish,
8
+ distribute, distribute with modifications, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included
13
+ in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18
+ IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
19
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
21
+ THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+
23
+ Except as contained in this notice, the name(s) of the above copyright
24
+ holders shall not be used in advertising or otherwise to promote the
25
+ sale, use or other dealings in this Software without prior written
26
+ authorization.
27
+
28
+ -- vile:txtmode fc=72
29
+ -- $Id: COPYING,v 1.13 2024/01/05 21:13:17 tom Exp $
@@ -0,0 +1,104 @@
1
+ PCRE2 Licence
2
+ =============
3
+
4
+ | SPDX-License-Identifier: | BSD-3-Clause WITH PCRE2-exception |
5
+ |---------|-------|
6
+
7
+ PCRE2 is a library of functions to support regular expressions whose syntax
8
+ and semantics are as close as possible to those of the Perl 5 language.
9
+
10
+ Releases 10.00 and above of PCRE2 are distributed under the terms of the "BSD"
11
+ licence, as specified below, with one exemption for certain binary
12
+ redistributions. The documentation for PCRE2, supplied in the "doc" directory,
13
+ is distributed under the same terms as the software itself. The data in the
14
+ testdata directory is not copyrighted and is in the public domain.
15
+
16
+ The basic library functions are written in C and are freestanding. Also
17
+ included in the distribution is a just-in-time compiler that can be used to
18
+ optimize pattern matching. This is an optional feature that can be omitted when
19
+ the library is built. The just-in-time compiler is separately licensed under the
20
+ "2-clause BSD" licence.
21
+
22
+
23
+ COPYRIGHT
24
+ ---------
25
+
26
+ ### The basic library functions
27
+
28
+ Written by: Philip Hazel
29
+ Email local part: Philip.Hazel
30
+ Email domain: gmail.com
31
+
32
+ Retired from University of Cambridge Computing Service,
33
+ Cambridge, England.
34
+
35
+ Copyright (c) 1997-2007 University of Cambridge
36
+ Copyright (c) 2007-2024 Philip Hazel
37
+ All rights reserved.
38
+
39
+ ### PCRE2 Just-In-Time compilation support
40
+
41
+ Written by: Zoltan Herczeg
42
+ Email local part: hzmester
43
+ Email domain: freemail.hu
44
+
45
+ Copyright (c) 2010-2024 Zoltan Herczeg
46
+ All rights reserved.
47
+
48
+ ### Stack-less Just-In-Time compiler
49
+
50
+ Written by: Zoltan Herczeg
51
+ Email local part: hzmester
52
+ Email domain: freemail.hu
53
+
54
+ Copyright (c) 2009-2024 Zoltan Herczeg
55
+ All rights reserved.
56
+
57
+ The code in the `deps/sljit` directory has its own LICENSE file.
58
+
59
+ ### All other contributions
60
+
61
+ Many other contributors have participated in the authorship of PCRE2. As PCRE2
62
+ has never required a Contributor Licensing Agreement, or other copyright
63
+ assignment agreement, all contributions have copyright retained by each
64
+ original contributor or their employer.
65
+
66
+
67
+ THE "BSD" LICENCE
68
+ -----------------
69
+
70
+ Redistribution and use in source and binary forms, with or without
71
+ modification, are permitted provided that the following conditions are met:
72
+
73
+ * Redistributions of source code must retain the above copyright notices,
74
+ this list of conditions and the following disclaimer.
75
+
76
+ * Redistributions in binary form must reproduce the above copyright
77
+ notices, this list of conditions and the following disclaimer in the
78
+ documentation and/or other materials provided with the distribution.
79
+
80
+ * Neither the name of the University of Cambridge nor the names of any
81
+ contributors may be used to endorse or promote products derived from this
82
+ software without specific prior written permission.
83
+
84
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
85
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
86
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
87
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
88
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
89
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
90
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
91
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
92
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
93
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
94
+ POSSIBILITY OF SUCH DAMAGE.
95
+
96
+
97
+ EXEMPTION FOR BINARY LIBRARY-LIKE PACKAGES
98
+ ------------------------------------------
99
+
100
+ The second condition in the BSD licence (covering binary redistributions) does
101
+ not apply all the way down a chain of software. If binary package A includes
102
+ PCRE2, it must respect the condition, but if package B is software that
103
+ includes package A, the condition is not imposed on package B unless it uses
104
+ PCRE2 independently.
@@ -0,0 +1,73 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
10
+
11
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
12
+
13
+ "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
14
+
15
+ "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
16
+
17
+ "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
18
+
19
+ "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
20
+
21
+ "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
22
+
23
+ "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
24
+
25
+ "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
26
+
27
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
28
+
29
+ 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
30
+
31
+ 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
32
+
33
+ 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
34
+
35
+ (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
36
+
37
+ (b) You must cause any modified files to carry prominent notices stating that You changed the files; and
38
+
39
+ (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
40
+
41
+ (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
42
+
43
+ You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
44
+
45
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
46
+
47
+ 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
48
+
49
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
50
+
51
+ 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
52
+
53
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
54
+
55
+ END OF TERMS AND CONDITIONS
56
+
57
+ APPENDIX: How to apply the Apache License to your work.
58
+
59
+ To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
60
+
61
+ Copyright [yyyy] [name of copyright owner]
62
+
63
+ Licensed under the Apache License, Version 2.0 (the "License");
64
+ you may not use this file except in compliance with the License.
65
+ You may obtain a copy of the License at
66
+
67
+ http://www.apache.org/licenses/LICENSE-2.0
68
+
69
+ Unless required by applicable law or agreed to in writing, software
70
+ distributed under the License is distributed on an "AS IS" BASIS,
71
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
72
+ See the License for the specific language governing permissions and
73
+ limitations under the License.
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,23 @@
1
+ Boost Software License - Version 1.0 - August 17th, 2003
2
+
3
+ Permission is hereby granted, free of charge, to any person or organization
4
+ obtaining a copy of the software and accompanying documentation covered by
5
+ this license (the "Software") to use, reproduce, display, distribute,
6
+ execute, and transmit the Software, and to prepare derivative works of the
7
+ Software, and to permit third-parties to whom the Software is furnished to
8
+ do so, all subject to the following:
9
+
10
+ The copyright notices in the Software and this entire statement, including
11
+ the above license grant, this restriction and the following disclaimer,
12
+ must be included in all copies of the Software, in whole or in part, and
13
+ all derivative works of the Software, unless such copies or derivative
14
+ works are solely in the form of machine-executable object code generated by
15
+ a source language processor.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
20
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
21
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
22
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23
+ DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,11 @@
1
+ zlib License
2
+
3
+ This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
4
+
5
+ Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
6
+
7
+ 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
8
+
9
+ 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
10
+
11
+ 3. This notice may not be removed or altered from any source distribution.
package/node.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import { type HarnessNode, type HarnessOptions } from '@elixir-playground/runtime/harness';
2
+ export declare const directory: string;
3
+ export type ErlOptions = Omit<HarnessOptions, 'args' | 'site'>;
4
+ export declare function erl(args: string[], options?: ErlOptions): Promise<HarnessNode>;
package/node.js ADDED
@@ -0,0 +1,16 @@
1
+ // An otp package's Node.js module (node.js): OTP's emulator under Node,
2
+ // through the runtime's harness (@elixir-playground/runtime/harness).
3
+ //
4
+ // import { erl } from '@elixir-playground/otp-29.1.3/node';
5
+ // const node = await erl(['-noshell', '-eval', 'io:format("~s~n", [erlang:system_info(otp_release)]), halt().']);
6
+ // node.end();
7
+ // const { status } = await node.done;
8
+ import { fileURLToPath } from 'node:url';
9
+ import { start } from '@elixir-playground/runtime/harness';
10
+ // The package's directory (this module is at its root).
11
+ export const directory = fileURLToPath(new URL('.', import.meta.url));
12
+ // erl with `args` (as erl takes them) on this OTP, with the packages in
13
+ // `options.packages` after it (an Elixir, the shell).
14
+ export function erl(args, options = {}) {
15
+ return start({ ...options, args, packages: [directory, ...(options.packages ?? [])] });
16
+ }