gnolang / hackerspace

Tinker, build, explore Gno - without the monorepo!
9 stars 5 forks source link

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

Open mvertes opened 1 year ago

mvertes commented 1 year ago

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:

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 commented 8 months ago

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