Minimal example of using Go generics to build an interpreter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Garrett Mills a2df4fbba4
Big bang
2 years ago
README.md Big bang 2 years ago
interp.go Big bang 2 years ago

README.md

Minimal example for my StackOverflow question here:

https://stackoverflow.com/questions/71955121/how-to-type-switch-values-with-generic-types

To trigger the issue:

go run interp.go