3 ms·
I was going to say, this looks a lot like GCL. Dynamic scope, recursive lookup in parent scopes, templates [1], everything. GCL is neat and all, but I'd almost
by saulrh 7y ago
I was going to say, this looks a lot like GCL. Dynamic scope, recursive lookup in parent scopes, templates [1], everything. GCL is neat and all, but I'd almost rather write my job configs by building thin python or lisp scripts to emit json or protos.
1: https://github.com/cuelang/cue/blob/master/doc/tutorial/basics/templates.md https://github.com/cuelang/cue/blob/master/doc/tutorial/basi...
- wstrange 7y agoAFAIK, cue is written by the author (or one of them?) of GCL, and purports to fix a lot of what is wrong with it.
- madhadron 7y ago> I'd almost rather write my job configs by building thin python or lisp scripts to emit json or protos This is what Facebook does: Python emitting JSON.
- bt848 7y agoWell, why don't you? Job configs in borg are protobufs. GCL can produce the required protocol message but so can any other language or tool. You could use Guile or whatever your heart desires.