3 ms·
Tcl is an aw some configuration language. Delete all the commands to make it non-Turing complete. Throw in infix assignment for ergonomics and you have a minima
by kevin_thibedeau 6y ago
Tcl is an aw some configuration language. Delete all the commands to make it non-Turing complete. Throw in infix assignment for ergonomics and you have a minimal configuration language that can be enhanced by adding back more commands as needed.
- unixhero 6y agoI 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....
- hobby-coder-guy 6y agoAw some?