feat: Add .RUNFILE.DIR, .SELF, .SELF.DIR#55
Conversation
Adds new attributes: - .RUNFILE.DIR - .SELF.RUNFILE - .SELF.DIR chore: Adds config properties: - config.RunfileAbsDir - config.CurrentRunfile - config.CurrentRunfileAbs - config.CurrentRunfileAbsDir bug: Fixes defer in for loop
|
@TekWizely Is it |
|
@TekWizely |
As you likely already confirmed, Its: rf.Scope.PutAttr(".SELF.DIR", config.CurrentRunfileAbsDir)
Plain Now I suppose an argument could be made to use plain Actually, now that I've written it I'm already leaning towards that idea, so expect an update soon :)
I like the potential for Similarly, this PR also opens up Thanks for the note, I hope to continue the discussion and get this feature firmed up and merged soon, -TW |
|
cc: @rburchell , @nikolay OK I've added some minimally viable documentation of the available attributes. I think it makes this PR sufficient for merging, but would not mind a sign off from one or both of you as well. -TW |
Adds new attributes:
chore: Adds config properties:
bug: Fixes defer in for loop
TODO:
Fixes #52
cc: @rburchell , @nikolay : Wanna give this a try and see how the chosen attributes feel in use?