@shd101wyy/yo 0.1.6 → 0.1.7

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 (34) hide show
  1. package/README.md +7 -6
  2. package/out/cjs/index.cjs +688 -638
  3. package/out/cjs/yo-cli.cjs +698 -648
  4. package/out/esm/index.mjs +628 -578
  5. package/out/types/src/build-runner.d.ts +1 -1
  6. package/out/types/src/codegen/async/runtime-io-common.d.ts +2 -1
  7. package/out/types/src/codegen/async/runtime.d.ts +5 -1
  8. package/out/types/src/codegen/functions/collection.d.ts +1 -1
  9. package/out/types/src/codegen/utils/index.d.ts +3 -0
  10. package/out/types/src/evaluator/builtins/comptime-index-fns.d.ts +17 -0
  11. package/out/types/src/evaluator/calls/index-trait.d.ts +17 -0
  12. package/out/types/src/evaluator/context.d.ts +18 -14
  13. package/out/types/src/evaluator/index.d.ts +3 -1
  14. package/out/types/src/evaluator/trait-checking.d.ts +1 -0
  15. package/out/types/src/evaluator/values/anonymous-module.d.ts +3 -2
  16. package/out/types/src/expr.d.ts +20 -1
  17. package/out/types/src/module-manager.d.ts +1 -0
  18. package/out/types/src/value.d.ts +2 -0
  19. package/out/types/tsconfig.tsbuildinfo +1 -1
  20. package/package.json +1 -1
  21. package/std/collections/array_list.yo +17 -61
  22. package/std/collections/btree_map.yo +13 -3
  23. package/std/collections/deque.yo +10 -0
  24. package/std/collections/hash_map.yo +15 -0
  25. package/std/collections/priority_queue.yo +5 -5
  26. package/std/encoding/punycode.yo +2 -2
  27. package/std/encoding/toml.yo +1 -1
  28. package/std/prelude.yo +818 -205
  29. package/std/process.yo +1 -1
  30. package/std/regex/compiler.yo +11 -11
  31. package/std/regex/index.yo +2 -4
  32. package/std/regex/vm.yo +41 -21
  33. package/std/string/string.yo +39 -5
  34. package/out/types/src/evaluator/calls/array.d.ts +0 -14
package/README.md CHANGED
@@ -256,12 +256,13 @@ export main;
256
256
 
257
257
  ### Example Projects
258
258
 
259
- | Project | Description |
260
- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
261
- | [raylib_yo](https://github.com/shd101wyy/raylib_yo) | Comprehensive [raylib](https://www.raylib.com/) bindings — 35 struct types, 535 functions, 227 constants |
262
- | [tetris_yo](https://github.com/shd101wyy/tetris_yo) \| [Online Demo](http://shd101wyy.github.io/tetris_yo) | Classic Tetris game built with raylib_yo, demonstrating Yo's build system and C interop |
263
- | [http_server_demo_yo](https://github.com/shd101wyy/http_server_demo_yo) | Simple HTTP/1.1 server — async I/O, algebraic effects, TCP networking, request parsing & routing |
264
- | [markdown_it_yo](https://github.com/shd101wyy/markdown_it_yo) | Diect port of the popular JavaScript markdown parser [markdown-it](https://github.com/markdown-it/markdown-it) to Yo, showcasing string processing and performance |
259
+ | Project | Description |
260
+ | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
261
+ | [raylib_yo](https://github.com/shd101wyy/raylib_yo) | Comprehensive [raylib](https://www.raylib.com/) bindings — 35 struct types, 535 functions, 227 constants |
262
+ | [tetris_yo](https://github.com/shd101wyy/tetris_yo) \| [Online Demo](http://shd101wyy.github.io/tetris_yo) | Classic Tetris game built with raylib_yo, demonstrating Yo's build system and C interop |
263
+ | [http_server_demo_yo](https://github.com/shd101wyy/http_server_demo_yo) | Simple HTTP/1.1 server — async I/O, algebraic effects, TCP networking, request parsing & routing |
264
+ | [markdown_it_yo](https://github.com/shd101wyy/markdown_it_yo) | Direct port of the popular JavaScript markdown parser [markdown-it](https://github.com/markdown-it/markdown-it) to Yo, showcasing string processing and performance |
265
+ | [markdown_yo](https://github.com/shd101wyy/markdown_yo) | High-performance markdown-to-HTML converter — hybrid SAX architecture, 2-2.5× faster than markdown-it (native), 1.5-2× faster (WASM) |
265
266
 
266
267
  ## Contributing
267
268