google / starlark-go

Starlark in Go: the Starlark configuration language, implemented in Go
BSD 3-Clause "New" or "Revised" License
2.31k stars 210 forks source link

use StringDictLike instead of StringDict to provide predefined symbols #464

Open ashi009 opened 1 year ago

ashi009 commented 1 year ago

DO NOT SUBMIT

This CL allows users to provide predefined symbols in a lazily loaded manner, which could be helpful when loading the program for static analysis (eg. extracting docs from .bzl files).

Fixes #463