3 ms·
So this is PHP-like but for C? What could possibly go wrong?
by klyrs 4y ago
So this is PHP-like but for C? What could possibly go wrong?
- kazinator 4y agoActual "PHP for C" exists: for example, the Klone web server. http://www.koanlogic.com/klone/ http://www.koanlogic.com/klone/ In Klone, you write .kl1 (and .inc) files that contain HTML/CSS/JS mixed with C. C is introduced with <% ... %> blocks, and can itself generate parts of the text using a function io_printf, which takes a request output stream handle, and printf-like arguments.