Infrastructure Overview
- hylo: The main compiler, written in Swift.
- swifty-llvm: Swift wrapper around LLVM’s C API. We use this for code generation.
- durian: A parser combinator library written in Swift, used by Hylo’s frontend.
- hylo-dev-toolchain: It’s CI actions pre-build and publish Docker images with the development toolchain needed to build Hylo’s compiler.
- llvm-build: Pre-built LLVM binaries with assertions enabled.
- hylo-new: A rewrite of Hylo’s frontend with more principled architecture, implicit resolution, and significantly better performance (over 10x speedup). We are working towards merging this with the current compiler.
- vscode-hylo: VSCode extension with syntax highlighting and code execution support. (LSP is WIP)
- hylo-language-server: A prototype Language Server for Hylo, written in Swift.
- cmakemodules: Common dependencies and utilities that are shared between Hylo projects, such as the Hylo Compiler, SwiftyLLVM and Durian.
See an overview illustration and more details at https://www.figma.com/design/OYq1UbEvSE3HXePaxawv0d/Hylo-CI-Infrastructure?node-id=0-1&t=vwE5FO3zn1NVSvCK-1