Code Golf: Code Golf: Difference between revisions
m
→{{header|Phix}}: '_' == 95, ' ' == 32
m (→{{header|Phix}}: use pygments, added program name version) |
m (→{{header|Phix}}: '_' == 95, ' ' == 32) |
||
Line 526:
Oh, I should also say the compiler/interpreter/linker/debugger is itself (currently) 2,789,376 bytes, plus you'll still need most of builtins/ which is around the 9MB mark.
While not exactly shorter, if you name the source code as Code Golf[.exw] or the executable as Code Golf[.exe], perhaps needing a substitute(s,'_',' ') [or (..,95,32)], this approach will also work:
<syntaxhighlight lang="Phix">
puts(1,get_file_base(command_line()[2]))
|