robertkrimen / otto

A JavaScript interpreter in Go (golang)
http://godoc.org/github.com/robertkrimen/otto
MIT License
8.04k stars 584 forks source link

chore: remove perl, make and local docs. #476

Closed stevenh closed 1 year ago

stevenh commented 1 year ago

Remove the dependencies on perl and make.

inline.pl is replaced by tools/gen-jscore and token/tokenfmt is replaced by tools/gen-tokens which are both golang text/template utilities.

gen-jscore uses property ordering that matches chromes output ordering adding missing properties to the Error types.

Local generated documentation have been removed as https://pkg.go.dev/ is more feature rich.

The use of make has been removed as the functionality is now replicated by standard golang tools go test ./... and go generate ./... as well as integrated into github actions.