-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
Description
by seth.bunce:
Proposal: Go should ignore the first line of a program if it begins with "#!". Precedent: The D programming language does this. (under Phases of Compilation step 2) http://www.digitalmars.com/d/2.0/lex.html Rationale: This would allow go programs to specify runners like shell scripts do. Cost vs Benefit: Existing Go programs would not have to be modified. This capability could be useful to some. Very low cost, low (maybe moderate) benefit.