2 ms·
It's really interesting that the original author compares it to Lua. I've never heard that comparison, but I've been recently considering building a similar bui
by vitiral 2y ago
It's really interesting that the original author compares it to Lua. I've never heard that comparison, but I've been recently considering building a similar build system. Mimicking starlark files would be easy: all you would have to do is use Lua's load[1] method with a highly constraint environment and you would have the deterministic environment that starlark has (you would have to inject deterministic iteration functions and importing/etc obviously).
[1]: https://lua.org/manual/5.4/manual.html#pdf-load https://lua.org/manual/5.4/manual.html#pdf-load