Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.6 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.6 KB

Zyphy

Zyphy is (or will be) a fast web browser engine written in Swift.

Important

This package is under development.

Package Contents

  • ✅ Ready to Use
    • (Nothing)
  • 🚧 Work in Progress
    • Tokenizer - An HTML tokenizer (specs)
    • TreeConstructor - An HTML tree constructor (specs)
  • 🥚 To Do
    • Zyphy - The main module

Prerequisites

  • Swift 6.0 development snapshot (because Zyphy is using experimental code item macros)

On Linux, you can easily install the toolchain using swiftly.

curl -L https://swiftlang.github.io/swiftly/swiftly-install.sh | bash
swiftly install 6.0-snapshot

Building

swift build

Testing

git submodule update --init --recursive
swift test --disable-xctest

Benchmarking

BENCHMARK_DISABLE_JEMALLOC=true swift package --package-path Benchmarks benchmark

For more details, please see https://github.com/ordo-one/package-benchmark.

The benchmark data are from html5ever, which is dual-licensed under the MIT license and the Apache 2.0 license.