Punk Rock Languages lvguowei.me/post/punk-rock-lan… via @lvguowei1002
Archived version of the original ode to #clang by Chris Adamson
Punk Rock Languages lvguowei.me/post/punk-rock-lan… 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 (perldoc.perl.org/perlgov#The-C…), but there have been forks and variations thanks to 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 mailund.dk/posts/macro-metapro…
jhnet.co.uk/articles/cpp_magic
github.com/pfultz2/Cloak/wiki/…
even with custom #pragma
sentido-labs.com/en/library/ce…
or non #perl implementations
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 :
git.scc.kit.edu/CES/clang-cust…
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 songwhip.com/ramones/i-wanna-b…
#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 • • •