@oseo/runtime-c 0.0.0-stage → 0.1.0-canary.370

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 (60) hide show
  1. package/LICENSE +674 -0
  2. package/MIT-LICENSE.txt +21 -0
  3. package/README.md +28 -2
  4. package/UNICODE-LICENSE.txt +39 -0
  5. package/dist/index.d.ts +7 -0
  6. package/dist/index.d.ts.map +1 -0
  7. package/dist/index.js +269 -0
  8. package/dist/index.js.map +1 -0
  9. package/native/oseo_runtime.h +2618 -0
  10. package/native/runtime_agent.c +1717 -0
  11. package/native/runtime_arguments.c +379 -0
  12. package/native/runtime_array.c +5766 -0
  13. package/native/runtime_array_buffer.c +1748 -0
  14. package/native/runtime_async_generator.c +972 -0
  15. package/native/runtime_atomics.c +1283 -0
  16. package/native/runtime_bigint.c +1387 -0
  17. package/native/runtime_bigint_object.c +626 -0
  18. package/native/runtime_binding.c +1029 -0
  19. package/native/runtime_boolean.c +320 -0
  20. package/native/runtime_clock.c +181 -0
  21. package/native/runtime_clock_posix.c +599 -0
  22. package/native/runtime_core.c +488 -0
  23. package/native/runtime_data_view.c +1135 -0
  24. package/native/runtime_date.c +1997 -0
  25. package/native/runtime_descriptor.c +1104 -0
  26. package/native/runtime_disposal.c +1667 -0
  27. package/native/runtime_enumeration.c +636 -0
  28. package/native/runtime_error.c +997 -0
  29. package/native/runtime_event_loop.c +653 -0
  30. package/native/runtime_function.c +3667 -0
  31. package/native/runtime_generator.c +1120 -0
  32. package/native/runtime_internal.h +5578 -0
  33. package/native/runtime_iterator.c +5379 -0
  34. package/native/runtime_json.c +1992 -0
  35. package/native/runtime_map.c +1563 -0
  36. package/native/runtime_math.c +918 -0
  37. package/native/runtime_memory.c +1365 -0
  38. package/native/runtime_module.c +884 -0
  39. package/native/runtime_number.c +2077 -0
  40. package/native/runtime_object.c +423 -0
  41. package/native/runtime_object_builtin.c +3901 -0
  42. package/native/runtime_primitive.c +2268 -0
  43. package/native/runtime_process.c +744 -0
  44. package/native/runtime_promise.c +3378 -0
  45. package/native/runtime_property.c +815 -0
  46. package/native/runtime_proxy.c +1557 -0
  47. package/native/runtime_realm.c +435 -0
  48. package/native/runtime_reflect.c +648 -0
  49. package/native/runtime_regexp.c +3519 -0
  50. package/native/runtime_regexp_matcher.c +3559 -0
  51. package/native/runtime_regexp_symbol.c +1495 -0
  52. package/native/runtime_set.c +1775 -0
  53. package/native/runtime_string.c +2886 -0
  54. package/native/runtime_string_match.c +1185 -0
  55. package/native/runtime_symbol.c +1010 -0
  56. package/native/runtime_typed_array.c +5137 -0
  57. package/native/runtime_unicode_tables.h +14670 -0
  58. package/native/runtime_uri.c +700 -0
  59. package/native/runtime_weak_collection.c +1299 -0
  60. package/package.json +38 -3
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Hong Minhee <https://hongminhee.org/>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, 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 in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,29 @@
1
- # Temporary Holding Version
1
+ @oseo/runtime-c
2
+ ===============
2
3
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
4
+ `@oseo/runtime-c` supplies the C11 source and headers that Oseo links with
5
+ its generated C. The runtime implements JavaScript values, objects, garbage
6
+ collection, and the event loop for Oseo's [supported language profile].
7
+ Both npm and JSR ship the native assets as source files, not as a compiled
8
+ library.
9
+
10
+ To compile or run a JavaScript or TypeScript program, use the [Oseo CLI].
11
+ It selects the runtime inputs for you. This package does not run JavaScript
12
+ on its own or provide a stable C embedding API.
13
+
14
+ In an Oseo integration, `cRuntimeProvider.getRuntimeInput()` returns the
15
+ runtime ABI identifier and the ordered list of asset names, kinds, and URLs.
16
+ Use matching compiler, C backend, and runtime package versions. Generated C
17
+ includes `oseo_runtime.h`; `runtime_internal.h` is private to the runtime.
18
+ See the [runtime ABI history] for changes to that boundary.
19
+
20
+ The TypeScript provider is licensed under GPL-3.0-or-later. Oseo-authored
21
+ native code is MIT-licensed, and Unicode-derived data retains its own terms.
22
+ When redistributing an executable linked with the runtime, include
23
+ `MIT-LICENSE.txt` and `UNICODE-LICENSE.txt` from the package, along with
24
+ any applicable [third-party notices].
25
+
26
+ [supported language profile]: https://github.com/dahlia/oseo/blob/main/docs/using/features.md
27
+ [Oseo CLI]: https://github.com/dahlia/oseo/blob/main/docs/using/install.md
28
+ [runtime ABI history]: https://github.com/dahlia/oseo/blob/main/docs/development/package-runtime-c.md
29
+ [third-party notices]: https://github.com/dahlia/oseo/blob/main/docs/runtime-support-surface.md#output-and-registry-notices
@@ -0,0 +1,39 @@
1
+ UNICODE LICENSE V3
2
+
3
+ COPYRIGHT AND PERMISSION NOTICE
4
+
5
+ Copyright © 1991-2026 Unicode, Inc.
6
+
7
+ NOTICE TO USER: Carefully read the following legal agreement. BY
8
+ DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
9
+ SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
10
+ TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
11
+ DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
12
+
13
+ Permission is hereby granted, free of charge, to any person obtaining a
14
+ copy of data files and any associated documentation (the "Data Files") or
15
+ software and any associated documentation (the "Software") to deal in the
16
+ Data Files or Software without restriction, including without limitation
17
+ the rights to use, copy, modify, merge, publish, distribute, and/or sell
18
+ copies of the Data Files or Software, and to permit persons to whom the
19
+ Data Files or Software are furnished to do so, provided that either (a)
20
+ this copyright and permission notice appear with all copies of the Data
21
+ Files or Software, or (b) this copyright and permission notice appear in
22
+ associated Documentation.
23
+
24
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
25
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
27
+ THIRD PARTY RIGHTS.
28
+
29
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
30
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
31
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
32
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
33
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
34
+ FILES OR SOFTWARE.
35
+
36
+ Except as contained in this notice, the name of a copyright holder shall
37
+ not be used in advertising or otherwise to promote the sale, use or other
38
+ dealings in these Data Files or Software without prior written
39
+ authorization of the copyright holder.
@@ -0,0 +1,7 @@
1
+ import { RuntimeInputProvider } from "@oseo/compiler";
2
+ //#region src/index.d.ts
3
+ /** Reviewed C runtime inputs kept separate from generated JavaScript. */
4
+ declare const cRuntimeProvider: RuntimeInputProvider;
5
+ //#endregion
6
+ export { cRuntimeProvider };
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"mappings":";;;cA0Ra,kBAAkB"}
package/dist/index.js ADDED
@@ -0,0 +1,269 @@
1
+ //#region src/index.ts
2
+ const runtimeInput = {
3
+ abiVersion: "m5-160",
4
+ assets: [
5
+ {
6
+ kind: "header",
7
+ name: "oseo_runtime.h",
8
+ url: new URL("../native/oseo_runtime.h", import.meta.url)
9
+ },
10
+ {
11
+ kind: "header",
12
+ name: "runtime_internal.h",
13
+ url: new URL("../native/runtime_internal.h", import.meta.url)
14
+ },
15
+ {
16
+ kind: "header",
17
+ name: "runtime_unicode_tables.h",
18
+ url: new URL("../native/runtime_unicode_tables.h", import.meta.url)
19
+ },
20
+ {
21
+ kind: "source",
22
+ name: "runtime_core.c",
23
+ url: new URL("../native/runtime_core.c", import.meta.url)
24
+ },
25
+ {
26
+ kind: "source",
27
+ name: "runtime_memory.c",
28
+ url: new URL("../native/runtime_memory.c", import.meta.url)
29
+ },
30
+ {
31
+ kind: "source",
32
+ name: "runtime_process.c",
33
+ url: new URL("../native/runtime_process.c", import.meta.url)
34
+ },
35
+ {
36
+ kind: "source",
37
+ name: "runtime_binding.c",
38
+ url: new URL("../native/runtime_binding.c", import.meta.url)
39
+ },
40
+ {
41
+ kind: "source",
42
+ name: "runtime_string.c",
43
+ url: new URL("../native/runtime_string.c", import.meta.url)
44
+ },
45
+ {
46
+ kind: "source",
47
+ name: "runtime_string_match.c",
48
+ url: new URL("../native/runtime_string_match.c", import.meta.url)
49
+ },
50
+ {
51
+ kind: "source",
52
+ name: "runtime_object.c",
53
+ url: new URL("../native/runtime_object.c", import.meta.url)
54
+ },
55
+ {
56
+ kind: "source",
57
+ name: "runtime_property.c",
58
+ url: new URL("../native/runtime_property.c", import.meta.url)
59
+ },
60
+ {
61
+ kind: "source",
62
+ name: "runtime_descriptor.c",
63
+ url: new URL("../native/runtime_descriptor.c", import.meta.url)
64
+ },
65
+ {
66
+ kind: "source",
67
+ name: "runtime_array.c",
68
+ url: new URL("../native/runtime_array.c", import.meta.url)
69
+ },
70
+ {
71
+ kind: "source",
72
+ name: "runtime_object_builtin.c",
73
+ url: new URL("../native/runtime_object_builtin.c", import.meta.url)
74
+ },
75
+ {
76
+ kind: "source",
77
+ name: "runtime_number.c",
78
+ url: new URL("../native/runtime_number.c", import.meta.url)
79
+ },
80
+ {
81
+ kind: "source",
82
+ name: "runtime_boolean.c",
83
+ url: new URL("../native/runtime_boolean.c", import.meta.url)
84
+ },
85
+ {
86
+ kind: "source",
87
+ name: "runtime_array_buffer.c",
88
+ url: new URL("../native/runtime_array_buffer.c", import.meta.url)
89
+ },
90
+ {
91
+ kind: "source",
92
+ name: "runtime_set.c",
93
+ url: new URL("../native/runtime_set.c", import.meta.url)
94
+ },
95
+ {
96
+ kind: "source",
97
+ name: "runtime_typed_array.c",
98
+ url: new URL("../native/runtime_typed_array.c", import.meta.url)
99
+ },
100
+ {
101
+ kind: "source",
102
+ name: "runtime_weak_collection.c",
103
+ url: new URL("../native/runtime_weak_collection.c", import.meta.url)
104
+ },
105
+ {
106
+ kind: "source",
107
+ name: "runtime_disposal.c",
108
+ url: new URL("../native/runtime_disposal.c", import.meta.url)
109
+ },
110
+ {
111
+ kind: "source",
112
+ name: "runtime_arguments.c",
113
+ url: new URL("../native/runtime_arguments.c", import.meta.url)
114
+ },
115
+ {
116
+ kind: "source",
117
+ name: "runtime_enumeration.c",
118
+ url: new URL("../native/runtime_enumeration.c", import.meta.url)
119
+ },
120
+ {
121
+ kind: "source",
122
+ name: "runtime_function.c",
123
+ url: new URL("../native/runtime_function.c", import.meta.url)
124
+ },
125
+ {
126
+ kind: "source",
127
+ name: "runtime_error.c",
128
+ url: new URL("../native/runtime_error.c", import.meta.url)
129
+ },
130
+ {
131
+ kind: "source",
132
+ name: "runtime_symbol.c",
133
+ url: new URL("../native/runtime_symbol.c", import.meta.url)
134
+ },
135
+ {
136
+ kind: "source",
137
+ name: "runtime_iterator.c",
138
+ url: new URL("../native/runtime_iterator.c", import.meta.url)
139
+ },
140
+ {
141
+ kind: "source",
142
+ name: "runtime_generator.c",
143
+ url: new URL("../native/runtime_generator.c", import.meta.url)
144
+ },
145
+ {
146
+ kind: "source",
147
+ name: "runtime_async_generator.c",
148
+ url: new URL("../native/runtime_async_generator.c", import.meta.url)
149
+ },
150
+ {
151
+ kind: "source",
152
+ name: "runtime_bigint.c",
153
+ url: new URL("../native/runtime_bigint.c", import.meta.url)
154
+ },
155
+ {
156
+ kind: "source",
157
+ name: "runtime_primitive.c",
158
+ url: new URL("../native/runtime_primitive.c", import.meta.url)
159
+ },
160
+ {
161
+ kind: "source",
162
+ name: "runtime_promise.c",
163
+ url: new URL("../native/runtime_promise.c", import.meta.url)
164
+ },
165
+ {
166
+ kind: "source",
167
+ name: "runtime_module.c",
168
+ url: new URL("../native/runtime_module.c", import.meta.url)
169
+ },
170
+ {
171
+ kind: "source",
172
+ name: "runtime_event_loop.c",
173
+ url: new URL("../native/runtime_event_loop.c", import.meta.url)
174
+ },
175
+ {
176
+ kind: "source",
177
+ name: "runtime_clock.c",
178
+ url: new URL("../native/runtime_clock.c", import.meta.url)
179
+ },
180
+ {
181
+ kind: "source",
182
+ name: "runtime_clock_posix.c",
183
+ url: new URL("../native/runtime_clock_posix.c", import.meta.url)
184
+ },
185
+ {
186
+ kind: "source",
187
+ name: "runtime_map.c",
188
+ url: new URL("../native/runtime_map.c", import.meta.url)
189
+ },
190
+ {
191
+ kind: "source",
192
+ name: "runtime_bigint_object.c",
193
+ url: new URL("../native/runtime_bigint_object.c", import.meta.url)
194
+ },
195
+ {
196
+ kind: "source",
197
+ name: "runtime_data_view.c",
198
+ url: new URL("../native/runtime_data_view.c", import.meta.url)
199
+ },
200
+ {
201
+ kind: "source",
202
+ name: "runtime_date.c",
203
+ url: new URL("../native/runtime_date.c", import.meta.url)
204
+ },
205
+ {
206
+ kind: "source",
207
+ name: "runtime_regexp.c",
208
+ url: new URL("../native/runtime_regexp.c", import.meta.url)
209
+ },
210
+ {
211
+ kind: "source",
212
+ name: "runtime_regexp_matcher.c",
213
+ url: new URL("../native/runtime_regexp_matcher.c", import.meta.url)
214
+ },
215
+ {
216
+ kind: "source",
217
+ name: "runtime_regexp_symbol.c",
218
+ url: new URL("../native/runtime_regexp_symbol.c", import.meta.url)
219
+ },
220
+ {
221
+ kind: "source",
222
+ name: "runtime_math.c",
223
+ url: new URL("../native/runtime_math.c", import.meta.url)
224
+ },
225
+ {
226
+ kind: "source",
227
+ name: "runtime_uri.c",
228
+ url: new URL("../native/runtime_uri.c", import.meta.url)
229
+ },
230
+ {
231
+ kind: "source",
232
+ name: "runtime_reflect.c",
233
+ url: new URL("../native/runtime_reflect.c", import.meta.url)
234
+ },
235
+ {
236
+ kind: "source",
237
+ name: "runtime_proxy.c",
238
+ url: new URL("../native/runtime_proxy.c", import.meta.url)
239
+ },
240
+ {
241
+ kind: "source",
242
+ name: "runtime_json.c",
243
+ url: new URL("../native/runtime_json.c", import.meta.url)
244
+ },
245
+ {
246
+ kind: "source",
247
+ name: "runtime_atomics.c",
248
+ url: new URL("../native/runtime_atomics.c", import.meta.url)
249
+ },
250
+ {
251
+ kind: "source",
252
+ name: "runtime_agent.c",
253
+ url: new URL("../native/runtime_agent.c", import.meta.url)
254
+ },
255
+ {
256
+ kind: "source",
257
+ name: "runtime_realm.c",
258
+ url: new URL("../native/runtime_realm.c", import.meta.url)
259
+ }
260
+ ]
261
+ };
262
+ /** Reviewed C runtime inputs kept separate from generated JavaScript. */
263
+ const cRuntimeProvider = { getRuntimeInput() {
264
+ return runtimeInput;
265
+ } };
266
+
267
+ //#endregion
268
+ export { cRuntimeProvider };
269
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["/*\n * Oseo, an ahead-of-time compiler for JavaScript and TypeScript.\n * Copyright (C) 2026 Hong Minhee <https://hongminhee.org/>\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport type { RuntimeInput, RuntimeInputProvider } from \"@oseo/compiler\";\n\nconst runtimeInput: RuntimeInput = {\n abiVersion: \"m5-160\",\n assets: [\n {\n kind: \"header\",\n name: \"oseo_runtime.h\",\n url: new URL(\"../native/oseo_runtime.h\", import.meta.url),\n },\n {\n kind: \"header\",\n name: \"runtime_internal.h\",\n url: new URL(\"../native/runtime_internal.h\", import.meta.url),\n },\n {\n kind: \"header\",\n name: \"runtime_unicode_tables.h\",\n url: new URL(\"../native/runtime_unicode_tables.h\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_core.c\",\n url: new URL(\"../native/runtime_core.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_memory.c\",\n url: new URL(\"../native/runtime_memory.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_process.c\",\n url: new URL(\"../native/runtime_process.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_binding.c\",\n url: new URL(\"../native/runtime_binding.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_string.c\",\n url: new URL(\"../native/runtime_string.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_string_match.c\",\n url: new URL(\"../native/runtime_string_match.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_object.c\",\n url: new URL(\"../native/runtime_object.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_property.c\",\n url: new URL(\"../native/runtime_property.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_descriptor.c\",\n url: new URL(\"../native/runtime_descriptor.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_array.c\",\n url: new URL(\"../native/runtime_array.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_object_builtin.c\",\n url: new URL(\"../native/runtime_object_builtin.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_number.c\",\n url: new URL(\"../native/runtime_number.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_boolean.c\",\n url: new URL(\"../native/runtime_boolean.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_array_buffer.c\",\n url: new URL(\"../native/runtime_array_buffer.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_set.c\",\n url: new URL(\"../native/runtime_set.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_typed_array.c\",\n url: new URL(\"../native/runtime_typed_array.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_weak_collection.c\",\n url: new URL(\"../native/runtime_weak_collection.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_disposal.c\",\n url: new URL(\"../native/runtime_disposal.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_arguments.c\",\n url: new URL(\"../native/runtime_arguments.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_enumeration.c\",\n url: new URL(\"../native/runtime_enumeration.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_function.c\",\n url: new URL(\"../native/runtime_function.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_error.c\",\n url: new URL(\"../native/runtime_error.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_symbol.c\",\n url: new URL(\"../native/runtime_symbol.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_iterator.c\",\n url: new URL(\"../native/runtime_iterator.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_generator.c\",\n url: new URL(\"../native/runtime_generator.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_async_generator.c\",\n url: new URL(\"../native/runtime_async_generator.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_bigint.c\",\n url: new URL(\"../native/runtime_bigint.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_primitive.c\",\n url: new URL(\"../native/runtime_primitive.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_promise.c\",\n url: new URL(\"../native/runtime_promise.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_module.c\",\n url: new URL(\"../native/runtime_module.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_event_loop.c\",\n url: new URL(\"../native/runtime_event_loop.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_clock.c\",\n url: new URL(\"../native/runtime_clock.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_clock_posix.c\",\n url: new URL(\"../native/runtime_clock_posix.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_map.c\",\n url: new URL(\"../native/runtime_map.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_bigint_object.c\",\n url: new URL(\"../native/runtime_bigint_object.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_data_view.c\",\n url: new URL(\"../native/runtime_data_view.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_date.c\",\n url: new URL(\"../native/runtime_date.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_regexp.c\",\n url: new URL(\"../native/runtime_regexp.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_regexp_matcher.c\",\n url: new URL(\"../native/runtime_regexp_matcher.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_regexp_symbol.c\",\n url: new URL(\"../native/runtime_regexp_symbol.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_math.c\",\n url: new URL(\"../native/runtime_math.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_uri.c\",\n url: new URL(\"../native/runtime_uri.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_reflect.c\",\n url: new URL(\"../native/runtime_reflect.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_proxy.c\",\n url: new URL(\"../native/runtime_proxy.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_json.c\",\n url: new URL(\"../native/runtime_json.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_atomics.c\",\n url: new URL(\"../native/runtime_atomics.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_agent.c\",\n url: new URL(\"../native/runtime_agent.c\", import.meta.url),\n },\n {\n kind: \"source\",\n name: \"runtime_realm.c\",\n url: new URL(\"../native/runtime_realm.c\", import.meta.url),\n },\n ],\n};\n\n/** Reviewed C runtime inputs kept separate from generated JavaScript. */\nexport const cRuntimeProvider: RuntimeInputProvider = {\n getRuntimeInput(): RuntimeInput {\n return runtimeInput;\n },\n};\n"],"mappings":";AAoBA,MAAM,eAA6B;CACjC,YAAY;CACZ,QAAQ;EACN;GACE,MAAM;GACN,MAAM;GACN,KAAK,IAAI,IAAI,4BAA4B,OAAO,KAAK,GAAG;EAC1D;EACA;GACE,MAAM;GACN,MAAM;GACN,KAAK,IAAI,IAAI,gCAAgC,OAAO,KAAK,GAAG;EAC9D;EACA;GACE,MAAM;GACN,MAAM;GACN,KAAK,IAAI,IAAI,sCAAsC,OAAO,KAAK,GAAG;EACpE;EACA;GACE,MAAM;GACN,MAAM;GACN,KAAK,IAAI,IAAI,4BAA4B,OAAO,KAAK,GAAG;EAC1D;EAC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