Punk Rock Languages https://www.lvguowei.me/post/punk-rock-languages/ via @lvguowei1002
Archived version of the original ode to #clang by Chris Adamson
Punk Rock Languages https://www.lvguowei.me/post/punk-rock-languages/ via @lvguowei1002
Archived version of the original ode to #clang by Chris Adamson
Mark Gardner
in reply to Christos Argyropoulos MD, PhD • • •It probably didn’t escape your notice that #Perl aptly ticks (almost) all the same listed features of a #PunkRock #programming language.
I’ll grant that the language is “owned” by the Core Team (https://perldoc.perl.org/perlgov#The-Core-Team), but there have been forks and variations thanks to https://perldoc.perl.org/perlartistic, which basically says “if you make big changes, don’t call the executable `perl`.”
perlgov - Perl Rules of Governance - Perldoc Browser
perldoc.perl.orgChristos Argyropoulos MD, PhD
in reply to Mark Gardner • • •2¢
in reply to Mark Gardner • • •Christos Argyropoulos MD, PhD
in reply to 2¢ • • •Christos Argyropoulos MD, PhD
in reply to Christos Argyropoulos MD, PhD • • •@Qbitzerre @mjgardner in an unrelated note, I wonder if one can use #perl to put some metaprogramming magic into C sources because the C preprocessor, is quite limited as far as generation tools are concerned https://mailund.dk/posts/macro-metaprogramming/
http://jhnet.co.uk/articles/cpp_magic
https://github.com/pfultz2/Cloak/wiki/C-Preprocessor-tricks,-tips,-and-idioms
even with custom #pragma
https://sentido-labs.com/en/library/cedro/202106171400/
or non #perl implementations
https://github.com/eudoxia0/magma
#Assembly & #fortran would also be candidates for something like this ib #HPC and #datascience applications.
C Preprocessor tricks, tips, and idioms
GitHubMark Gardner
in reply to Christos Argyropoulos MD, PhD • • •Christos Argyropoulos MD, PhD
in reply to Mark Gardner • • •this is precisely the type of enhancement that one could do by extending the C preprocessor. In this particular case, I wonder if one could just do it via a custom #pragma directive.
There is a tutorial on how to implement those for the #clang / #llvm #compiler :
https://git.scc.kit.edu/CES/clang-custom-pragma
Or, just use a regex powered #perl script to remove those extra commas by invoking the perl script to generate a C source without those commas prior to compiling. @Perl
CES / clang-custom-pragma · GitLab
GitLab2¢
in reply to Christos Argyropoulos MD, PhD • • •Christos Argyropoulos MD, PhD
in reply to 2¢ • • •2¢
in reply to Christos Argyropoulos MD, PhD • • •@mjgardner twenty twenty twenty-four hours to go...
...
Nothing to do, nowhere to go-oh...
Mark Gardner
in reply to 2¢ • • •@Qbitzerre https://songwhip.com/ramones/i-wanna-be-sedated
#Ramones #PunkRock #punk #music
I Wanna Be Sedated by Ramones
Ramones (Songwhip)Christos Argyropoulos MD, PhD
in reply to Mark Gardner • • •Marina :blobcatenby: :antifa:
in reply to Mark Gardner • • •