tpy-lang 0.3.0.dev0__py3-none-any.whl

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 (333) hide show
  1. tpy_lang-0.3.0.dev0.dist-info/METADATA +151 -0
  2. tpy_lang-0.3.0.dev0.dist-info/RECORD +333 -0
  3. tpy_lang-0.3.0.dev0.dist-info/WHEEL +4 -0
  4. tpy_lang-0.3.0.dev0.dist-info/entry_points.txt +3 -0
  5. tpyc/__init__.py +104 -0
  6. tpyc/__main__.py +6 -0
  7. tpyc/_buildinfo.py +1 -0
  8. tpyc/_data/docs/LANGUAGE_FEATURES.md +6278 -0
  9. tpyc/_data/docs/STDLIB_ROADMAP.md +1258 -0
  10. tpyc/_data/docs/TPY_FOR_AGENTS.md +556 -0
  11. tpyc/_data/lib/tpy/_bindings/__init__.py +6 -0
  12. tpyc/_data/lib/tpy/_bindings/pcre2.py +173 -0
  13. tpyc/_data/lib/tpy/_bindings/posix_socket.py +161 -0
  14. tpyc/_data/lib/tpy/_functools_macros.py +80 -0
  15. tpyc/_data/lib/tpy/_macro_helpers.py +161 -0
  16. tpyc/_data/lib/tpy/argparse.py +2062 -0
  17. tpyc/_data/lib/tpy/asyncio/__init__.py +744 -0
  18. tpyc/_data/lib/tpy/asyncio/_executor.py +515 -0
  19. tpyc/_data/lib/tpy/base64.py +410 -0
  20. tpyc/_data/lib/tpy/bisect.py +39 -0
  21. tpyc/_data/lib/tpy/builtins.py +38 -0
  22. tpyc/_data/lib/tpy/dataclasses.py +354 -0
  23. tpyc/_data/lib/tpy/enum.py +23 -0
  24. tpyc/_data/lib/tpy/functools.py +33 -0
  25. tpyc/_data/lib/tpy/hashlib.py +206 -0
  26. tpyc/_data/lib/tpy/heapq.py +118 -0
  27. tpyc/_data/lib/tpy/io.py +395 -0
  28. tpyc/_data/lib/tpy/json.py +221 -0
  29. tpyc/_data/lib/tpy/math.py +406 -0
  30. tpyc/_data/lib/tpy/random.py +597 -0
  31. tpyc/_data/lib/tpy/re.py +467 -0
  32. tpyc/_data/lib/tpy/socket.py +379 -0
  33. tpyc/_data/lib/tpy/struct.py +178 -0
  34. tpyc/_data/lib/tpy/sys.py +40 -0
  35. tpyc/_data/lib/tpy/time.py +39 -0
  36. tpyc/_data/lib/tpy/tpy/__init__.py +78 -0
  37. tpyc/_data/lib/tpy/tpy/_bootstrap/__init__.py +10 -0
  38. tpyc/_data/lib/tpy/tpy/_bootstrap/_decorators.py +37 -0
  39. tpyc/_data/lib/tpy/tpy/_bootstrap/_extern.py +64 -0
  40. tpyc/_data/lib/tpy/tpy/_builtins/__init__.py +11 -0
  41. tpyc/_data/lib/tpy/tpy/_builtins/_bytes.py +378 -0
  42. tpyc/_data/lib/tpy/tpy/_builtins/_dict.py +151 -0
  43. tpyc/_data/lib/tpy/tpy/_builtins/_exceptions.py +125 -0
  44. tpyc/_data/lib/tpy/tpy/_builtins/_funcs.py +681 -0
  45. tpyc/_data/lib/tpy/tpy/_builtins/_io.py +97 -0
  46. tpyc/_data/lib/tpy/tpy/_builtins/_list.py +127 -0
  47. tpyc/_data/lib/tpy/tpy/_builtins/_range.py +52 -0
  48. tpyc/_data/lib/tpy/tpy/_builtins/_set.py +139 -0
  49. tpyc/_data/lib/tpy/tpy/_builtins/_super.py +11 -0
  50. tpyc/_data/lib/tpy/tpy/_builtins/_types.py +661 -0
  51. tpyc/_data/lib/tpy/tpy/_core/__init__.py +23 -0
  52. tpyc/_data/lib/tpy/tpy/_core/_bytes_view.py +129 -0
  53. tpyc/_data/lib/tpy/tpy/_core/_containers.py +137 -0
  54. tpyc/_data/lib/tpy/tpy/_core/_functions.py +40 -0
  55. tpyc/_data/lib/tpy/tpy/_core/_types.py +2061 -0
  56. tpyc/_data/lib/tpy/tpy/_typing/__init__.py +77 -0
  57. tpyc/_data/lib/tpy/tpy/_version.py +29 -0
  58. tpyc/_data/lib/tpy/tpy/bits.py +28 -0
  59. tpyc/_data/lib/tpy/tpy/coro/__init__.py +127 -0
  60. tpyc/_data/lib/tpy/tpy/extern.py +8 -0
  61. tpyc/_data/lib/tpy/tpy/mem.py +49 -0
  62. tpyc/_data/lib/tpy/tpy/unsafe.py +195 -0
  63. tpyc/_data/lib/tpy/tpy/version.py +21 -0
  64. tpyc/_data/lib/tpy/typing.py +13 -0
  65. tpyc/_data/runtime/cpp/include/tpy/any.hpp +461 -0
  66. tpyc/_data/runtime/cpp/include/tpy/as_ostream.hpp +117 -0
  67. tpyc/_data/runtime/cpp/include/tpy/async.hpp +76 -0
  68. tpyc/_data/runtime/cpp/include/tpy/bigint.hpp +1343 -0
  69. tpyc/_data/runtime/cpp/include/tpy/builtins.hpp +400 -0
  70. tpyc/_data/runtime/cpp/include/tpy/bytes_ops.hpp +469 -0
  71. tpyc/_data/runtime/cpp/include/tpy/container_ops.hpp +487 -0
  72. tpyc/_data/runtime/cpp/include/tpy/copy_iter.hpp +82 -0
  73. tpyc/_data/runtime/cpp/include/tpy/core.hpp +558 -0
  74. tpyc/_data/runtime/cpp/include/tpy/dict_ops.hpp +289 -0
  75. tpyc/_data/runtime/cpp/include/tpy/dunder.hpp +750 -0
  76. tpyc/_data/runtime/cpp/include/tpy/dynamic.hpp +44 -0
  77. tpyc/_data/runtime/cpp/include/tpy/enum.hpp +40 -0
  78. tpyc/_data/runtime/cpp/include/tpy/file.hpp +245 -0
  79. tpyc/_data/runtime/cpp/include/tpy/fixed_int.hpp +317 -0
  80. tpyc/_data/runtime/cpp/include/tpy/format.hpp +954 -0
  81. tpyc/_data/runtime/cpp/include/tpy/frame_slot.hpp +120 -0
  82. tpyc/_data/runtime/cpp/include/tpy/generator.hpp +47 -0
  83. tpyc/_data/runtime/cpp/include/tpy/iterable_ops.hpp +122 -0
  84. tpyc/_data/runtime/cpp/include/tpy/itertools.hpp +749 -0
  85. tpyc/_data/runtime/cpp/include/tpy/next_iter.hpp +82 -0
  86. tpyc/_data/runtime/cpp/include/tpy/ordered_map.hpp +518 -0
  87. tpyc/_data/runtime/cpp/include/tpy/ordered_set.hpp +337 -0
  88. tpyc/_data/runtime/cpp/include/tpy/own_iter.hpp +54 -0
  89. tpyc/_data/runtime/cpp/include/tpy/pascal_graph_sdl.hpp +192 -0
  90. tpyc/_data/runtime/cpp/include/tpy/printing.hpp +302 -0
  91. tpyc/_data/runtime/cpp/include/tpy/protocols.hpp +61 -0
  92. tpyc/_data/runtime/cpp/include/tpy/range.hpp +115 -0
  93. tpyc/_data/runtime/cpp/include/tpy/ranges.hpp +212 -0
  94. tpyc/_data/runtime/cpp/include/tpy/set_ops.hpp +265 -0
  95. tpyc/_data/runtime/cpp/include/tpy/slice.hpp +47 -0
  96. tpyc/_data/runtime/cpp/include/tpy/span_iter.hpp +42 -0
  97. tpyc/_data/runtime/cpp/include/tpy/stdlib/math.hpp +41 -0
  98. tpyc/_data/runtime/cpp/include/tpy/stdlib/pcre2_h.hpp +96 -0
  99. tpyc/_data/runtime/cpp/include/tpy/stdlib/random.hpp +25 -0
  100. tpyc/_data/runtime/cpp/include/tpy/stdlib/socket_h.hpp +145 -0
  101. tpyc/_data/runtime/cpp/include/tpy/stdlib/time.hpp +62 -0
  102. tpyc/_data/runtime/cpp/include/tpy/system.hpp +121 -0
  103. tpyc/_data/runtime/cpp/include/tpy/throwable.hpp +55 -0
  104. tpyc/_data/runtime/cpp/include/tpy/tpy.hpp +156 -0
  105. tpyc/_data/runtime/cpp/include/tpy/type_name.hpp +77 -0
  106. tpyc/_data/runtime/cpp/include/tpy/type_traits.hpp +240 -0
  107. tpyc/_data/runtime/cpp/include/tpy/uninit_array_storage.hpp +250 -0
  108. tpyc/_data/runtime/cpp/include/tpy/uninit_heap_storage.hpp +277 -0
  109. tpyc/_data/runtime/cpp/include/tpy/varargs.hpp +174 -0
  110. tpyc/_data/runtime/cpp/include/tpy/variant_ref.hpp +118 -0
  111. tpyc/_data/runtime/cpp/src/stdlib/socket_impl.cpp +104 -0
  112. tpyc/_data/runtime/cpp/third_party/README.md +58 -0
  113. tpyc/_data/runtime/cpp/third_party/pcre2/AUTHORS +36 -0
  114. tpyc/_data/runtime/cpp/third_party/pcre2/CMakeLists.txt +1233 -0
  115. tpyc/_data/runtime/cpp/third_party/pcre2/COPYING +5 -0
  116. tpyc/_data/runtime/cpp/third_party/pcre2/ChangeLog +3097 -0
  117. tpyc/_data/runtime/cpp/third_party/pcre2/HACKING +853 -0
  118. tpyc/_data/runtime/cpp/third_party/pcre2/INSTALL +368 -0
  119. tpyc/_data/runtime/cpp/third_party/pcre2/LICENCE +94 -0
  120. tpyc/_data/runtime/cpp/third_party/pcre2/NEWS +492 -0
  121. tpyc/_data/runtime/cpp/third_party/pcre2/NON-AUTOTOOLS-BUILD +430 -0
  122. tpyc/_data/runtime/cpp/third_party/pcre2/README +956 -0
  123. tpyc/_data/runtime/cpp/third_party/pcre2/cmake/COPYING-CMAKE-SCRIPTS +22 -0
  124. tpyc/_data/runtime/cpp/third_party/pcre2/cmake/FindEditline.cmake +16 -0
  125. tpyc/_data/runtime/cpp/third_party/pcre2/cmake/FindPackageHandleStandardArgs.cmake +58 -0
  126. tpyc/_data/runtime/cpp/third_party/pcre2/cmake/FindReadline.cmake +29 -0
  127. tpyc/_data/runtime/cpp/third_party/pcre2/cmake/pcre2-config-version.cmake.in +15 -0
  128. tpyc/_data/runtime/cpp/third_party/pcre2/cmake/pcre2-config.cmake.in +148 -0
  129. tpyc/_data/runtime/cpp/third_party/pcre2/config-cmake.h.in +56 -0
  130. tpyc/_data/runtime/cpp/third_party/pcre2/libpcre2-16.pc.in +13 -0
  131. tpyc/_data/runtime/cpp/third_party/pcre2/libpcre2-32.pc.in +13 -0
  132. tpyc/_data/runtime/cpp/third_party/pcre2/libpcre2-8.pc.in +13 -0
  133. tpyc/_data/runtime/cpp/third_party/pcre2/libpcre2-posix.pc.in +13 -0
  134. tpyc/_data/runtime/cpp/third_party/pcre2/pcre2-config.in +121 -0
  135. tpyc/_data/runtime/cpp/third_party/pcre2/src/config.h +483 -0
  136. tpyc/_data/runtime/cpp/third_party/pcre2/src/config.h.generic +483 -0
  137. tpyc/_data/runtime/cpp/third_party/pcre2/src/config.h.in +460 -0
  138. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2.h +1010 -0
  139. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2.h.generic +1010 -0
  140. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2.h.in +1010 -0
  141. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_auto_possess.c +1371 -0
  142. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_chartables.c +196 -0
  143. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_chartables.c.dist +196 -0
  144. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_chkdint.c +96 -0
  145. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_compile.c +11001 -0
  146. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_config.c +252 -0
  147. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_context.c +510 -0
  148. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_convert.c +1189 -0
  149. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_dfa_match.c +4119 -0
  150. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_dftables.c +297 -0
  151. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_error.c +345 -0
  152. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_extuni.c +162 -0
  153. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_find_bracket.c +219 -0
  154. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_fuzzsupport.c +792 -0
  155. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_internal.h +2084 -0
  156. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_intmodedep.h +940 -0
  157. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_jit_compile.c +14972 -0
  158. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_jit_match.c +200 -0
  159. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_jit_misc.c +234 -0
  160. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_jit_neon_inc.h +354 -0
  161. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_jit_simd_inc.h +2355 -0
  162. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_jit_test.c +2528 -0
  163. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_maketables.c +165 -0
  164. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_match.c +7777 -0
  165. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_match_data.c +185 -0
  166. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_newline.c +243 -0
  167. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_ord2utf.c +120 -0
  168. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_pattern_info.c +432 -0
  169. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_printint.c +886 -0
  170. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_script_run.c +344 -0
  171. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_serialize.c +286 -0
  172. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_string_utils.c +237 -0
  173. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_study.c +1915 -0
  174. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_substitute.c +1009 -0
  175. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_substring.c +550 -0
  176. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_tables.c +234 -0
  177. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_ucd.c +5460 -0
  178. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_ucp.h +396 -0
  179. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_ucptables.c +1533 -0
  180. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_valid_utf.c +398 -0
  181. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2_xclass.c +308 -0
  182. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2demo.c +497 -0
  183. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2grep.c +4606 -0
  184. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2posix.c +425 -0
  185. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2posix.h +187 -0
  186. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2posix_test.c +209 -0
  187. tpyc/_data/runtime/cpp/third_party/pcre2/src/pcre2test.c +9708 -0
  188. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/allocator_src/sljitExecAllocatorApple.c +137 -0
  189. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/allocator_src/sljitExecAllocatorCore.c +327 -0
  190. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/allocator_src/sljitExecAllocatorFreeBSD.c +89 -0
  191. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/allocator_src/sljitExecAllocatorPosix.c +62 -0
  192. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/allocator_src/sljitExecAllocatorWindows.c +40 -0
  193. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/allocator_src/sljitProtExecAllocatorNetBSD.c +72 -0
  194. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/allocator_src/sljitProtExecAllocatorPosix.c +172 -0
  195. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/allocator_src/sljitWXExecAllocatorPosix.c +141 -0
  196. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/allocator_src/sljitWXExecAllocatorWindows.c +102 -0
  197. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitConfig.h +142 -0
  198. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitConfigCPU.h +188 -0
  199. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitConfigInternal.h +907 -0
  200. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitLir.c +3561 -0
  201. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitLir.h +2466 -0
  202. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativeARM_32.c +4636 -0
  203. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativeARM_64.c +3491 -0
  204. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativeARM_T2_32.c +4302 -0
  205. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativeLOONGARCH_64.c +3765 -0
  206. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativeMIPS_32.c +472 -0
  207. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativeMIPS_64.c +387 -0
  208. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativeMIPS_common.c +4259 -0
  209. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativePPC_32.c +485 -0
  210. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativePPC_64.c +719 -0
  211. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativePPC_common.c +3161 -0
  212. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativeRISCV_32.c +142 -0
  213. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativeRISCV_64.c +222 -0
  214. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativeRISCV_common.c +3121 -0
  215. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativeS390X.c +4526 -0
  216. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativeX86_32.c +1685 -0
  217. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativeX86_64.c +1398 -0
  218. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitNativeX86_common.c +5001 -0
  219. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitSerialize.c +516 -0
  220. tpyc/_data/runtime/cpp/third_party/pcre2/src/sljit/sljitUtils.c +344 -0
  221. tpyc/_data/runtime/cpp/third_party/pcre2.sources.txt +54 -0
  222. tpyc/_data/runtime/cpp/third_party/pcre2.vendor.json +7 -0
  223. tpyc/build/__init__.py +7 -0
  224. tpyc/build/pcre2.py +122 -0
  225. tpyc/build/third_party.py +413 -0
  226. tpyc/cli.py +822 -0
  227. tpyc/codegen_cpp/__init__.py +18 -0
  228. tpyc/codegen_cpp/builtins.py +484 -0
  229. tpyc/codegen_cpp/context.py +2064 -0
  230. tpyc/codegen_cpp/expressions.py +5940 -0
  231. tpyc/codegen_cpp/functions.py +1913 -0
  232. tpyc/codegen_cpp/gen_async.py +3258 -0
  233. tpyc/codegen_cpp/gen_generators.py +657 -0
  234. tpyc/codegen_cpp/generator.py +2258 -0
  235. tpyc/codegen_cpp/match.py +1997 -0
  236. tpyc/codegen_cpp/param_const.py +172 -0
  237. tpyc/codegen_cpp/protocols.py +907 -0
  238. tpyc/codegen_cpp/records.py +1654 -0
  239. tpyc/codegen_cpp/resumable_cfg.py +1651 -0
  240. tpyc/codegen_cpp/statements.py +4963 -0
  241. tpyc/codegen_cpp/string_dispatch.py +76 -0
  242. tpyc/codegen_cpp/test_context.py +46 -0
  243. tpyc/codegen_cpp/test_param_const.py +113 -0
  244. tpyc/codegen_cpp/test_resumable_cfg.py +182 -0
  245. tpyc/codegen_cpp/type_resolution.py +53 -0
  246. tpyc/codegen_cpp/types.py +436 -0
  247. tpyc/codegen_cpp/variant_access.py +135 -0
  248. tpyc/coercions.py +749 -0
  249. tpyc/compilation_context.py +57 -0
  250. tpyc/compiler.py +3945 -0
  251. tpyc/cycle_detection.py +358 -0
  252. tpyc/diagnostics.py +135 -0
  253. tpyc/dump_types.py +353 -0
  254. tpyc/frontend_diagnostics.py +47 -0
  255. tpyc/frontend_ir/__init__.py +140 -0
  256. tpyc/frontend_ir/lower.py +1098 -0
  257. tpyc/frontend_ir/nodes.py +718 -0
  258. tpyc/frontend_ir/resolver_adapter.py +151 -0
  259. tpyc/frontend_plugin.py +209 -0
  260. tpyc/install_docs.py +81 -0
  261. tpyc/liveness.py +756 -0
  262. tpyc/macro_api.py +1724 -0
  263. tpyc/macro_loader.py +497 -0
  264. tpyc/module_names.py +64 -0
  265. tpyc/modules/__init__.py +31 -0
  266. tpyc/modules/defs.py +89 -0
  267. tpyc/modules/registry.py +36 -0
  268. tpyc/modules/resolver.py +192 -0
  269. tpyc/modules/type_resolution.py +629 -0
  270. tpyc/namespace.py +172 -0
  271. tpyc/parse/__init__.py +84 -0
  272. tpyc/parse/imports.py +490 -0
  273. tpyc/parse/nodes.py +1732 -0
  274. tpyc/parse/parser.py +4043 -0
  275. tpyc/parse/resolve_refs.py +466 -0
  276. tpyc/parse/type_resolver.py +1060 -0
  277. tpyc/prescan.py +254 -0
  278. tpyc/qnames.py +149 -0
  279. tpyc/repl.py +529 -0
  280. tpyc/repl_backends.py +848 -0
  281. tpyc/sema/__init__.py +21 -0
  282. tpyc/sema/analyzer.py +3625 -0
  283. tpyc/sema/bound_check.py +72 -0
  284. tpyc/sema/builder_trace.py +684 -0
  285. tpyc/sema/calls.py +5406 -0
  286. tpyc/sema/compatibility.py +2107 -0
  287. tpyc/sema/context.py +1243 -0
  288. tpyc/sema/expressions.py +3737 -0
  289. tpyc/sema/flow_facts.py +199 -0
  290. tpyc/sema/init_tracker.py +150 -0
  291. tpyc/sema/list_literals.py +69 -0
  292. tpyc/sema/literal_utils.py +27 -0
  293. tpyc/sema/local_deduction.py +1088 -0
  294. tpyc/sema/macros.py +179 -0
  295. tpyc/sema/match.py +1177 -0
  296. tpyc/sema/method_expansion.py +347 -0
  297. tpyc/sema/methods.py +2197 -0
  298. tpyc/sema/mutation_propagation.py +268 -0
  299. tpyc/sema/narrowing.py +857 -0
  300. tpyc/sema/numeric_lattice.py +160 -0
  301. tpyc/sema/operators.py +402 -0
  302. tpyc/sema/overloads.py +841 -0
  303. tpyc/sema/protocols.py +1209 -0
  304. tpyc/sema/reach_analysis.py +202 -0
  305. tpyc/sema/registration.py +3156 -0
  306. tpyc/sema/scope_tracker.py +193 -0
  307. tpyc/sema/statements.py +4426 -0
  308. tpyc/sema/type_ops.py +1879 -0
  309. tpyc/sema/value_range.py +181 -0
  310. tpyc/symbol_binding.py +259 -0
  311. tpyc/test_c3_mro.py +208 -0
  312. tpyc/test_cli_argv.py +52 -0
  313. tpyc/test_compiler.py +559 -0
  314. tpyc/test_contains_type_param.py +101 -0
  315. tpyc/test_cycle_detection.py +221 -0
  316. tpyc/test_dump_types.py +225 -0
  317. tpyc/test_install_docs.py +65 -0
  318. tpyc/test_local_cpp_form.py +135 -0
  319. tpyc/test_macro_loader.py +76 -0
  320. tpyc/test_method_expansion.py +254 -0
  321. tpyc/test_nominal_identity.py +182 -0
  322. tpyc/test_overloads.py +410 -0
  323. tpyc/test_parse.py +303 -0
  324. tpyc/test_parse_type_ref.py +506 -0
  325. tpyc/test_parse_version_info.py +58 -0
  326. tpyc/test_reach_analysis.py +72 -0
  327. tpyc/test_ref_type.py +216 -0
  328. tpyc/test_send_sync_substitution.py +276 -0
  329. tpyc/test_tuple_mutation_propagation.py +206 -0
  330. tpyc/test_type_def_registry.py +1729 -0
  331. tpyc/test_union_types.py +195 -0
  332. tpyc/type_def_registry.py +975 -0
  333. tpyc/typesys.py +5104 -0
@@ -0,0 +1,483 @@
1
+ /* src/config.h. Generated from config.h.in by configure. */
2
+ /* src/config.h.in. Generated from configure.ac by autoheader. */
3
+
4
+ /* PCRE2 is written in Standard C, but there are a few non-standard things it
5
+ can cope with, allowing it to run on SunOS4 and other "close to standard"
6
+ systems.
7
+
8
+ In environments that support the GNU autotools, config.h.in is converted into
9
+ config.h by the "configure" script. In environments that use CMake,
10
+ config-cmake.in is converted into config.h. If you are going to build PCRE2 "by
11
+ hand" without using "configure" or CMake, you should copy the distributed
12
+ config.h.generic to config.h, and edit the macro definitions to be the way you
13
+ need them. You must then add -DHAVE_CONFIG_H to all of your compile commands,
14
+ so that config.h is included at the start of every source.
15
+
16
+ Alternatively, you can avoid editing by using -D on the compiler command line
17
+ to set the macro values. In this case, you do not have to set -DHAVE_CONFIG_H,
18
+ but if you do, default values will be taken from config.h for non-boolean
19
+ macros that are not defined on the command line.
20
+
21
+ Boolean macros such as HAVE_STDLIB_H and SUPPORT_PCRE2_8 should either be
22
+ defined (conventionally to 1) for TRUE, and not defined at all for FALSE. All
23
+ such macros are listed as a commented #undef in config.h.generic. Macros such
24
+ as MATCH_LIMIT, whose actual value is relevant, have defaults defined, but are
25
+ surrounded by #ifndef/#endif lines so that the value can be overridden by -D.
26
+
27
+ PCRE2 uses memmove() if HAVE_MEMMOVE is defined; otherwise it uses bcopy() if
28
+ HAVE_BCOPY is defined. If your system has neither bcopy() nor memmove(), make
29
+ sure both macros are undefined; an emulation function will then be used. */
30
+
31
+ /* By default, the \R escape sequence matches any Unicode line ending
32
+ character or sequence of characters. If BSR_ANYCRLF is defined (to any
33
+ value), this is changed so that backslash-R matches only CR, LF, or CRLF.
34
+ The build-time default can be overridden by the user of PCRE2 at runtime.
35
+ */
36
+ /* #undef BSR_ANYCRLF */
37
+
38
+ /* Define to any value to disable the use of the z and t modifiers in
39
+ formatting settings such as %zu or %td (this is rarely needed). */
40
+ /* #undef DISABLE_PERCENT_ZT */
41
+
42
+ /* If you are compiling for a system that uses EBCDIC instead of ASCII
43
+ character codes, define this macro to any value. When EBCDIC is set, PCRE2
44
+ assumes that all input strings are in EBCDIC. If you do not define this
45
+ macro, PCRE2 will assume input strings are ASCII or UTF-8/16/32 Unicode. It
46
+ is not possible to build a version of PCRE2 that supports both EBCDIC and
47
+ UTF-8/16/32. */
48
+ /* #undef EBCDIC */
49
+
50
+ /* In an EBCDIC environment, define this macro to any value to arrange for the
51
+ NL character to be 0x25 instead of the default 0x15. NL plays the role that
52
+ LF does in an ASCII/Unicode environment. */
53
+ /* #undef EBCDIC_NL25 */
54
+
55
+ /* Define this if your compiler supports __attribute__((uninitialized)) */
56
+ /* #undef HAVE_ATTRIBUTE_UNINITIALIZED */
57
+
58
+ /* Define to 1 if you have the 'bcopy' function. */
59
+ /* #undef HAVE_BCOPY */
60
+
61
+ /* Define this if your compiler provides __builtin_mul_overflow() */
62
+ /* #undef HAVE_BUILTIN_MUL_OVERFLOW */
63
+
64
+ /* Define to 1 if you have the <bzlib.h> header file. */
65
+ /* #undef HAVE_BZLIB_H */
66
+
67
+ /* Define to 1 if you have the <dirent.h> header file. */
68
+ /* #undef HAVE_DIRENT_H */
69
+
70
+ /* Define to 1 if you have the <dlfcn.h> header file. */
71
+ /* #undef HAVE_DLFCN_H */
72
+
73
+ /* Define to 1 if you have the <editline/readline.h> header file. */
74
+ /* #undef HAVE_EDITLINE_READLINE_H */
75
+
76
+ /* Define to 1 if you have the <edit/readline/readline.h> header file. */
77
+ /* #undef HAVE_EDIT_READLINE_READLINE_H */
78
+
79
+ /* Define to 1 if you have the <inttypes.h> header file. */
80
+ /* #undef HAVE_INTTYPES_H */
81
+
82
+ /* Define to 1 if you have the <limits.h> header file. */
83
+ /* #undef HAVE_LIMITS_H */
84
+
85
+ /* Define to 1 if you have the 'memfd_create' function. */
86
+ /* #undef HAVE_MEMFD_CREATE */
87
+
88
+ /* Define to 1 if you have the 'memmove' function. */
89
+ /* #undef HAVE_MEMMOVE */
90
+
91
+ /* Define to 1 if you have the <minix/config.h> header file. */
92
+ /* #undef HAVE_MINIX_CONFIG_H */
93
+
94
+ /* Define to 1 if you have the 'mkostemp' function. */
95
+ /* #undef HAVE_MKOSTEMP */
96
+
97
+ /* Define if you have POSIX threads libraries and header files. */
98
+ /* #undef HAVE_PTHREAD */
99
+
100
+ /* Have PTHREAD_PRIO_INHERIT. */
101
+ /* #undef HAVE_PTHREAD_PRIO_INHERIT */
102
+
103
+ /* Define to 1 if you have the <readline.h> header file. */
104
+ /* #undef HAVE_READLINE_H */
105
+
106
+ /* Define to 1 if you have the <readline/history.h> header file. */
107
+ /* #undef HAVE_READLINE_HISTORY_H */
108
+
109
+ /* Define to 1 if you have the <readline/readline.h> header file. */
110
+ /* #undef HAVE_READLINE_READLINE_H */
111
+
112
+ /* Define to 1 if you have the `realpath' function. */
113
+ /* #undef HAVE_REALPATH */
114
+
115
+ /* Define to 1 if you have the 'secure_getenv' function. */
116
+ /* #undef HAVE_SECURE_GETENV */
117
+
118
+ /* Define to 1 if you have the <stdint.h> header file. */
119
+ /* #undef HAVE_STDINT_H */
120
+
121
+ /* Define to 1 if you have the <stdio.h> header file. */
122
+ /* #undef HAVE_STDIO_H */
123
+
124
+ /* Define to 1 if you have the <stdlib.h> header file. */
125
+ /* #undef HAVE_STDLIB_H */
126
+
127
+ /* Define to 1 if you have the 'strerror' function. */
128
+ /* #undef HAVE_STRERROR */
129
+
130
+ /* Define to 1 if you have the <strings.h> header file. */
131
+ /* #undef HAVE_STRINGS_H */
132
+
133
+ /* Define to 1 if you have the <string.h> header file. */
134
+ /* #undef HAVE_STRING_H */
135
+
136
+ /* Define to 1 if you have the <sys/stat.h> header file. */
137
+ /* #undef HAVE_SYS_STAT_H */
138
+
139
+ /* Define to 1 if you have the <sys/types.h> header file. */
140
+ /* #undef HAVE_SYS_TYPES_H */
141
+
142
+ /* Define to 1 if you have the <sys/wait.h> header file. */
143
+ /* #undef HAVE_SYS_WAIT_H */
144
+
145
+ /* Define to 1 if you have the <unistd.h> header file. */
146
+ /* #undef HAVE_UNISTD_H */
147
+
148
+ /* Define to 1 if the compiler supports simple visibility declarations. */
149
+ /* #undef HAVE_VISIBILITY */
150
+
151
+ /* Define to 1 if you have the <wchar.h> header file. */
152
+ /* #undef HAVE_WCHAR_H */
153
+
154
+ /* Define to 1 if you have the <windows.h> header file. */
155
+ /* #undef HAVE_WINDOWS_H */
156
+
157
+ /* Define to 1 if you have the <zlib.h> header file. */
158
+ /* #undef HAVE_ZLIB_H */
159
+
160
+ /* This limits the amount of memory that may be used while matching a pattern.
161
+ It applies to both pcre2_match() and pcre2_dfa_match(). It does not apply
162
+ to JIT matching. The value is in kibibytes (units of 1024 bytes). */
163
+ #ifndef HEAP_LIMIT
164
+ #define HEAP_LIMIT 20000000
165
+ #endif
166
+
167
+ /* The value of LINK_SIZE determines the number of bytes used to store links
168
+ as offsets within the compiled regex. The default is 2, which allows for
169
+ compiled patterns up to 65535 code units long. This covers the vast
170
+ majority of cases. However, PCRE2 can also be compiled to use 3 or 4 bytes
171
+ instead. This allows for longer patterns in extreme cases. */
172
+ #ifndef LINK_SIZE
173
+ #define LINK_SIZE 2
174
+ #endif
175
+
176
+ /* Define to the sub-directory where libtool stores uninstalled libraries. */
177
+ /* This is ignored unless you are using libtool. */
178
+ #ifndef LT_OBJDIR
179
+ #define LT_OBJDIR ".libs/"
180
+ #endif
181
+
182
+ /* The value of MATCH_LIMIT determines the default number of times the
183
+ pcre2_match() function can record a backtrack position during a single
184
+ matching attempt. The value is also used to limit a loop counter in
185
+ pcre2_dfa_match(). There is a runtime interface for setting a different
186
+ limit. The limit exists in order to catch runaway regular expressions that
187
+ take forever to determine that they do not match. The default is set very
188
+ large so that it does not accidentally catch legitimate cases. */
189
+ #ifndef MATCH_LIMIT
190
+ #define MATCH_LIMIT 10000000
191
+ #endif
192
+
193
+ /* The above limit applies to all backtracks, whether or not they are nested.
194
+ In some environments it is desirable to limit the nesting of backtracking
195
+ (that is, the depth of tree that is searched) more strictly, in order to
196
+ restrict the maximum amount of heap memory that is used. The value of
197
+ MATCH_LIMIT_DEPTH provides this facility. To have any useful effect, it
198
+ must be less than the value of MATCH_LIMIT. The default is to use the same
199
+ value as MATCH_LIMIT. There is a runtime method for setting a different
200
+ limit. In the case of pcre2_dfa_match(), this limit controls the depth of
201
+ the internal nested function calls that are used for pattern recursions,
202
+ lookarounds, and atomic groups. */
203
+ #ifndef MATCH_LIMIT_DEPTH
204
+ #define MATCH_LIMIT_DEPTH MATCH_LIMIT
205
+ #endif
206
+
207
+ /* This limit is parameterized just in case anybody ever wants to change it.
208
+ Care must be taken if it is increased, because it guards against integer
209
+ overflow caused by enormously large patterns. */
210
+ #ifndef MAX_NAME_COUNT
211
+ #define MAX_NAME_COUNT 10000
212
+ #endif
213
+
214
+ /* This limit is parameterized just in case anybody ever wants to change it.
215
+ Care must be taken if it is increased, because it guards against integer
216
+ overflow caused by enormously large patterns. */
217
+ #ifndef MAX_NAME_SIZE
218
+ #define MAX_NAME_SIZE 128
219
+ #endif
220
+
221
+ /* The value of MAX_VARLOOKBEHIND specifies the default maximum length, in
222
+ characters, for a variable-length lookbehind assertion. */
223
+ #ifndef MAX_VARLOOKBEHIND
224
+ #define MAX_VARLOOKBEHIND 255
225
+ #endif
226
+
227
+ /* Defining NEVER_BACKSLASH_C locks out the use of \C in all patterns. */
228
+ /* #undef NEVER_BACKSLASH_C */
229
+
230
+ /* The value of NEWLINE_DEFAULT determines the default newline character
231
+ sequence. PCRE2 client programs can override this by selecting other values
232
+ at run time. The valid values are 1 (CR), 2 (LF), 3 (CRLF), 4 (ANY), 5
233
+ (ANYCRLF), and 6 (NUL). */
234
+ #ifndef NEWLINE_DEFAULT
235
+ #define NEWLINE_DEFAULT 2
236
+ #endif
237
+
238
+ /* Name of package */
239
+ #define PACKAGE "pcre2"
240
+
241
+ /* Define to the address where bug reports for this package should be sent. */
242
+ #define PACKAGE_BUGREPORT ""
243
+
244
+ /* Define to the full name of this package. */
245
+ #define PACKAGE_NAME "PCRE2"
246
+
247
+ /* Define to the full name and version of this package. */
248
+ #define PACKAGE_STRING "PCRE2 10.44"
249
+
250
+ /* Define to the one symbol short name of this package. */
251
+ #define PACKAGE_TARNAME "pcre2"
252
+
253
+ /* Define to the home page for this package. */
254
+ #define PACKAGE_URL ""
255
+
256
+ /* Define to the version of this package. */
257
+ #define PACKAGE_VERSION "10.44"
258
+
259
+ /* The value of PARENS_NEST_LIMIT specifies the maximum depth of nested
260
+ parentheses (of any kind) in a pattern. This limits the amount of system
261
+ stack that is used while compiling a pattern. */
262
+ #ifndef PARENS_NEST_LIMIT
263
+ #define PARENS_NEST_LIMIT 250
264
+ #endif
265
+
266
+ /* The value of PCRE2GREP_BUFSIZE is the starting size of the buffer used by
267
+ pcre2grep to hold parts of the file it is searching. The buffer will be
268
+ expanded up to PCRE2GREP_MAX_BUFSIZE if necessary, for files containing
269
+ very long lines. The actual amount of memory used by pcre2grep is three
270
+ times this number, because it allows for the buffering of "before" and
271
+ "after" lines. */
272
+ #ifndef PCRE2GREP_BUFSIZE
273
+ #define PCRE2GREP_BUFSIZE 20480
274
+ #endif
275
+
276
+ /* The value of PCRE2GREP_MAX_BUFSIZE specifies the maximum size of the buffer
277
+ used by pcre2grep to hold parts of the file it is searching. The actual
278
+ amount of memory used by pcre2grep is three times this number, because it
279
+ allows for the buffering of "before" and "after" lines. */
280
+ #ifndef PCRE2GREP_MAX_BUFSIZE
281
+ #define PCRE2GREP_MAX_BUFSIZE 1048576
282
+ #endif
283
+
284
+ /* Define to any value to include debugging code. */
285
+ /* #undef PCRE2_DEBUG */
286
+
287
+ /* to make a symbol visible */
288
+ #define PCRE2_EXPORT
289
+
290
+ /* If you are compiling for a system other than a Unix-like system or
291
+ Win32, and it needs some magic to be inserted before the definition
292
+ of a function that is exported by the library, define this macro to
293
+ contain the relevant magic. If you do not define this macro, a suitable
294
+ __declspec value is used for Windows systems; in other environments
295
+ a compiler relevant "extern" is used with any "visibility" related
296
+ attributes from PCRE2_EXPORT included.
297
+ This macro apears at the start of every exported function that is part
298
+ of the external API. It does not appear on functions that are "external"
299
+ in the C sense, but which are internal to the library. */
300
+ /* #undef PCRE2_EXP_DEFN */
301
+
302
+ /* Define to any value if linking statically (TODO: make nice with Libtool) */
303
+ /* #undef PCRE2_STATIC */
304
+
305
+ /* Define to necessary symbol if this constant uses a non-standard name on
306
+ your system. */
307
+ /* #undef PTHREAD_CREATE_JOINABLE */
308
+
309
+ /* Define to any non-zero number to enable support for SELinux compatible
310
+ executable memory allocator in JIT. Note that this will have no effect
311
+ unless SUPPORT_JIT is also defined. */
312
+ /* #undef SLJIT_PROT_EXECUTABLE_ALLOCATOR */
313
+
314
+ /* Define to 1 if all of the C89 standard headers exist (not just the ones
315
+ required in a freestanding environment). This macro is provided for
316
+ backward compatibility; new code need not use it. */
317
+ /* #undef STDC_HEADERS */
318
+
319
+ /* Define to any value to enable differential fuzzing support. */
320
+ /* #undef SUPPORT_DIFF_FUZZ */
321
+
322
+ /* Define to any value to enable support for Just-In-Time compiling. */
323
+ #define SUPPORT_JIT 1
324
+
325
+ /* Define to any value to allow pcre2grep to be linked with libbz2, so that it
326
+ is able to handle .bz2 files. */
327
+ /* #undef SUPPORT_LIBBZ2 */
328
+
329
+ /* Define to any value to allow pcre2test to be linked with libedit. */
330
+ /* #undef SUPPORT_LIBEDIT */
331
+
332
+ /* Define to any value to allow pcre2test to be linked with libreadline. */
333
+ /* #undef SUPPORT_LIBREADLINE */
334
+
335
+ /* Define to any value to allow pcre2grep to be linked with libz, so that it
336
+ is able to handle .gz files. */
337
+ /* #undef SUPPORT_LIBZ */
338
+
339
+ /* Define to any value to enable callout script support in pcre2grep. */
340
+ /* #undef SUPPORT_PCRE2GREP_CALLOUT */
341
+
342
+ /* Define to any value to enable fork support in pcre2grep callout scripts.
343
+ This will have no effect unless SUPPORT_PCRE2GREP_CALLOUT is also defined.
344
+ */
345
+ /* #undef SUPPORT_PCRE2GREP_CALLOUT_FORK */
346
+
347
+ /* Define to any value to enable JIT support in pcre2grep. Note that this will
348
+ have no effect unless SUPPORT_JIT is also defined. */
349
+ /* #undef SUPPORT_PCRE2GREP_JIT */
350
+
351
+ /* Define to any value to enable the 16 bit PCRE2 library. */
352
+ /* #undef SUPPORT_PCRE2_16 */
353
+
354
+ /* Define to any value to enable the 32 bit PCRE2 library. */
355
+ /* #undef SUPPORT_PCRE2_32 */
356
+
357
+ /* Define to any value to enable the 8 bit PCRE2 library. */
358
+ #define SUPPORT_PCRE2_8 1
359
+
360
+ /* Define to any value to enable support for Unicode and UTF encoding. This
361
+ will work even in an EBCDIC environment, but it is incompatible with the
362
+ EBCDIC macro. That is, PCRE2 can support *either* EBCDIC code *or*
363
+ ASCII/Unicode, but not both at once. */
364
+ #define SUPPORT_UNICODE 1
365
+
366
+ /* Define to any value for valgrind support to find invalid memory reads. */
367
+ /* #undef SUPPORT_VALGRIND */
368
+
369
+ /* Enable extensions on AIX, Interix, z/OS. */
370
+ #ifndef _ALL_SOURCE
371
+ # define _ALL_SOURCE 1
372
+ #endif
373
+ /* Enable general extensions on macOS. */
374
+ #ifndef _DARWIN_C_SOURCE
375
+ # define _DARWIN_C_SOURCE 1
376
+ #endif
377
+ /* Enable general extensions on Solaris. */
378
+ #ifndef __EXTENSIONS__
379
+ # define __EXTENSIONS__ 1
380
+ #endif
381
+ /* Enable GNU extensions on systems that have them. */
382
+ #ifndef _GNU_SOURCE
383
+ # define _GNU_SOURCE 1
384
+ #endif
385
+ /* Enable X/Open compliant socket functions that do not require linking
386
+ with -lxnet on HP-UX 11.11. */
387
+ #ifndef _HPUX_ALT_XOPEN_SOCKET_API
388
+ # define _HPUX_ALT_XOPEN_SOCKET_API 1
389
+ #endif
390
+ /* Identify the host operating system as Minix.
391
+ This macro does not affect the system headers' behavior.
392
+ A future release of Autoconf may stop defining this macro. */
393
+ #ifndef _MINIX
394
+ /* # undef _MINIX */
395
+ #endif
396
+ /* Enable general extensions on NetBSD.
397
+ Enable NetBSD compatibility extensions on Minix. */
398
+ #ifndef _NETBSD_SOURCE
399
+ # define _NETBSD_SOURCE 1
400
+ #endif
401
+ /* Enable OpenBSD compatibility extensions on NetBSD.
402
+ Oddly enough, this does nothing on OpenBSD. */
403
+ #ifndef _OPENBSD_SOURCE
404
+ # define _OPENBSD_SOURCE 1
405
+ #endif
406
+ /* Define to 1 if needed for POSIX-compatible behavior. */
407
+ #ifndef _POSIX_SOURCE
408
+ /* # undef _POSIX_SOURCE */
409
+ #endif
410
+ /* Define to 2 if needed for POSIX-compatible behavior. */
411
+ #ifndef _POSIX_1_SOURCE
412
+ /* # undef _POSIX_1_SOURCE */
413
+ #endif
414
+ /* Enable POSIX-compatible threading on Solaris. */
415
+ #ifndef _POSIX_PTHREAD_SEMANTICS
416
+ # define _POSIX_PTHREAD_SEMANTICS 1
417
+ #endif
418
+ /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
419
+ #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
420
+ # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
421
+ #endif
422
+ /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
423
+ #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
424
+ # define __STDC_WANT_IEC_60559_BFP_EXT__ 1
425
+ #endif
426
+ /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
427
+ #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
428
+ # define __STDC_WANT_IEC_60559_DFP_EXT__ 1
429
+ #endif
430
+ /* Enable extensions specified by C23 Annex F. */
431
+ #ifndef __STDC_WANT_IEC_60559_EXT__
432
+ # define __STDC_WANT_IEC_60559_EXT__ 1
433
+ #endif
434
+ /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
435
+ #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
436
+ # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
437
+ #endif
438
+ /* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */
439
+ #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
440
+ # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
441
+ #endif
442
+ /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
443
+ #ifndef __STDC_WANT_LIB_EXT2__
444
+ # define __STDC_WANT_LIB_EXT2__ 1
445
+ #endif
446
+ /* Enable extensions specified by ISO/IEC 24747:2009. */
447
+ #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
448
+ # define __STDC_WANT_MATH_SPEC_FUNCS__ 1
449
+ #endif
450
+ /* Enable extensions on HP NonStop. */
451
+ #ifndef _TANDEM_SOURCE
452
+ # define _TANDEM_SOURCE 1
453
+ #endif
454
+ /* Enable X/Open extensions. Define to 500 only if necessary
455
+ to make mbstate_t available. */
456
+ #ifndef _XOPEN_SOURCE
457
+ /* # undef _XOPEN_SOURCE */
458
+ #endif
459
+
460
+ /* Version number of package */
461
+ #define VERSION "10.44"
462
+
463
+ /* Number of bits in a file offset, on hosts where this is settable. */
464
+ /* #undef _FILE_OFFSET_BITS */
465
+
466
+ /* Define to 1 on platforms where this makes off_t a 64-bit type. */
467
+ /* #undef _LARGE_FILES */
468
+
469
+ /* Number of bits in time_t, on hosts where this is settable. */
470
+ /* #undef _TIME_BITS */
471
+
472
+ /* Define to 1 on platforms where this makes time_t a 64-bit type. */
473
+ /* #undef __MINGW_USE_VC2005_COMPAT */
474
+
475
+ /* Define to empty if 'const' does not conform to ANSI C. */
476
+ /* #undef const */
477
+
478
+ /* Define to the type of a signed integer type of width exactly 64 bits if
479
+ such a type exists and the standard includes do not define it. */
480
+ /* #undef int64_t */
481
+
482
+ /* Define as 'unsigned int' if <stddef.h> doesn't define. */
483
+ /* #undef size_t */