[HN Gopher] Makefile.md - Possibly Use(Ful|Less) Polyglot Synthe...
       ___________________________________________________________________
        
       Makefile.md - Possibly Use(Ful|Less) Polyglot Synthesis of Makefile
       and Markdown
        
       Author : fallat
       Score  : 15 points
       Date   : 2025-06-09 12:24 UTC (10 hours ago)
        
 (HTM) web link (zoo.dev)
 (TXT) w3m dump (zoo.dev)
        
       | cxr wrote:
       | Useful applications of polyglot files that would unironically be
       | good to see people adopt:
       | 
       | - JS-based build scripts being replaced with HTML/plaintext
       | polyglot files that serve as both the README and the build script
       | and that run in the universal runtime (the browser) rather than
       | requiring e.g. NodeJS; alternatively
       | 
       | - JS/JS polyglot files that you can run with NodeJS if you so
       | choose but that have first-class support for the browser instead
       | 
       | - JSON/HTML+JS polyglot files that parse as valid JSON but that
       | you save with a .htm(l) extension and provide an advanced
       | browser-based viewer for the data encoded in the JSON (especially
       | typed data, e.g. JSON-LD)
        
         | fallat wrote:
         | Wow these are really cool ideas.
        
       ___________________________________________________________________
       (page generated 2025-06-09 23:01 UTC)