This is the blog post form for the latest justforfunc episode of the same title. And the code for the program can be found here, in the justforfunc repository.
Problem statement Imagine you’ve been given this program below and you want to extract all of the identifiers in it.
package main import "fmt" func main() { fmt.Println("Hello, world") } We should obtain a list containing main, fmt, and Println.
How could we do this?
...Read More