3 ms·
I think I get this. Would you have any code examples laying around?
by unixhero 6y ago
I think I get this. Would you have any code examples laying around?
- sirn 6y agoMacPorts' Portfile[1], maybe? Portfile is being evaluated entirely within interp[2] with only few functions exposed inside the environment [1]: https://github.com/macports/macports-ports/blob/master/lang/lua/Portfile https://github.com/macports/macports-ports/blob/master/lang/... [2]: https://www.tcl.tk/man/tcl8.4/TclCmd/interp.htm https://www.tcl.tk/man/tcl8.4/TclCmd/interp.htm
- unixhero 6y agoVery decent, that file from the Macports repo looks very clean and sane. Thank you.
- gglitch 6y agoPossibly related: https://trs.jpl.nasa.gov/bitstream/handle/2014/7660/03-1728.pdf https://trs.jpl.nasa.gov/bitstream/handle/2014/7660/03-1728....