DevToys.swiftpm icon indicating copy to clipboard operation
DevToys.swiftpm copied to clipboard

Replace Kitura's swift-html-entities with Zyphy

Open kkebo opened this issue 2 years ago • 1 comments
trafficstars

Zyphy has been developing APIs for HTML character references since https://github.com/kkk669/zyphy/pull/35. swift-html-entities is no longer maintained. So I would like to replace it with Zyphy.

To do that, I have to split Zyphy into a few packages because Swift Playgrounds doesn't support macro targets yet.

kkebo avatar Nov 23 '23 18:11 kkebo

Zyphy is only supports Swift 6.0 or later for now because it uses the CodeItem macros.

So I have two options.

  1. Wait until the Swift Playgrounds supports Swift 6.0
    • However, the production release of Swift 6.0 may remove the CodeItem macro feature.
  2. Create a separate package that only contains the HTMLEntites module.

kkebo avatar Apr 01 '24 18:04 kkebo