fork download
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. int main(void) {
  5. char src[] = "printf(\"hello, world!\");";
  6. char* p = src;
  7.  
  8. p[strlen(p)-1] = '\0';
  9. printf("(format nil ");
  10. while (*p != '\"') ++p;
  11. printf("%s", p);
  12.  
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
(format nil "hello, world!")