Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go-testsuite, a testing framework for existing and future Go compilers and interpreters #37

Open
mvertes opened this issue Sep 6, 2023 · 1 comment
Assignees

Comments

@mvertes
Copy link

mvertes commented Sep 6, 2023

The goal is to provide a test suite which can be used to verify independently that a Go language implementation supports the Go specification.

The project will be mainly a collection of self-contained Go sample programs like:

package main

func main() {
    println("hello", 3+2)
}

// Output:
// hello 5

And the scripts to build and tests existing toolchains against those examples.

Toolchain candidates:

  • Golang Go compiler
  • tinygo
  • gccgo
  • gnovm (gnolang)
  • yaegi
  • gno-rs (internal gnolang)
  • parscan (internal gnolang)
  • ...

We can start to populate the sample base with various projects regression tests already in that format (gno, yaegi), and continue add relevant examples over time.

This project could be also to provide a framework for comparing other aspects like performances or other features.

@ajnavarro
Copy link

First iteration here: https://github.com/ajnavarro/go-lang-spec-checker/

@moul moul added the 💡 idea label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants