What codebases have the best or most educational unit/integration tests when implementing a programming language?

This page summarizes the projects mentioned and recommended in the original post on /r/ProgrammingLanguages

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • sdk

    The Dart SDK, including the VM, dart2js, core libraries, and more.

    So I'm looking for inspiration on the best ways of writing tests for things like the AST structure, or other things inherent in building a programming language. I am currently browsing through some of the thousands of Dart AST tests, which look sometimes like this:

  • tailspin-v0

    A programming language with extreme data-pattern matching and data-declarative syntax, hopefully different enough to be interesting

    I test almost entirely from my language, that way the tests are independent of the implementation. Currently the tests are implemented in java because that fits the interpreter implementation https://github.com/tobega/tailspin-v0/tree/master/test/tailspin/samples

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts