GitXplorerGitXplorer
M

Typology

public
81 stars
5 forks
23 issues

Commits

List of commits on branch main.
Unverified
de16c5c2bff0f0af5e41984f98ff163f6087d846

Update swift-syntax version

MMaxDesiatov committed 3 years ago
Verified
620cee2aba7ebf76ae357d4e23ca781c40c990b1

Simplify syntax type casts in AST.swift

MMaxDesiatov committed 5 years ago
Verified
a19158fc4dc92c9cb9db4fb6eebbcced10cf74a0

Fix build issues after updating to Swift 5.2

MMaxDesiatov committed 5 years ago
Verified
259d62c07448d0fe5bffc774a119a3a8822afce1

Migrate from Azure Pipelines to GitHub Actions

MMaxDesiatov committed 5 years ago
Verified
bfe7045ec6395d50821a25710f25a5a6cb6b7153

Remove unused .xcodeproj, add VSCode settings

MMaxDesiatov committed 5 years ago
Verified
7cbe53567c5556b07250681f077f47e46b3345e4

Update for Swift 5.2, fix SwiftSyntax issues

MMaxDesiatov committed 5 years ago

README

The README file for this repository.

SWUbanner

Typology

CI status Coverage

Typology is a work in progress attempt to implement type checking of Swift in Swift itself. Currently it uses SwiftSyntax as a parser, but is ready to switch to other pure Swift parsers in the future when any are available.

Goals

  • Education: understanding how type checking can be implemented in a Swift compiler
  • User Experience: finding the best way to report type errors and to improve related developer tools
  • Research and Experimentation: prototyping advanced features that could be fully developed within Swift's type system.

How does it work?

Same as the type checker in Apple's Swift compiler, Typology relies on the fact that you can express type systems with a set of constraints on types that are resolved through unification.

See also

Type systems and type checkers

Error reporting

Optimizing type checker's performance for large projects