faxmeyourcode
So my username is a little less ridiculous than I originally thought? :)

The fact that this can introduce OCR bugs into your C code is hilarious, and this is diabolical:

    #define one ( 4 - 3 )
    #define eleven ( 3 + 4 + 4 )

Source code is here https://github.com/lexbailey/compilerfax
JoshTriplett
This is awesome. Using computers for what they're best at: fax and figures.

I'm curious why this requires a reply number in the program, rather than relying on something like Caller ID and sending the reply back to the number that sent the fax.

khaki54
Have fun troubleshooting when the OCR keeps mis-identifying one of the semi-colons as a greek question mark!
jabbany
So, as someone who has lived in regions with pretty severe internet censorship in the past and built circumvention software back in the day, I've always pondered the idea of whether one could build a fax-based thing like this for browsing the web. Kind of as like a "last resort" system.^

Could have a form that you fax in with, like a URL and session info (cookies and stuff), and then it faxes back the page, and you can circle stuff and fax the page back to interact and "click on" things.

Plus, since computers can ingest faxes, you wouldn't need to waste paper printing everything out, and could just do everything digitally. But you still had the option to use paper and a fax machine if you really need to.

^: Yes, I know faxes are unencrypted and phone lines can be tapped. But I've always found the idea intriguing. Plus having some emergency point-to-point communication to bootstrap things like key exchange could still be neat.

fortran77
This is similar to the workflow for my CS101 class at college in the 70s.

I submitted my deck of cards to a person in the computer center at one of the times the PL/C compiler was scheduled to run (10 AM and 2 PM), I sat and waited, and then my output would be handed to me after it was compiled and run.

kazinator
With Common Lisp, we don't need an infinite roll of paper to prank the faxed compiler. Just

  (progn . #1=((print 'foo) . #1#))
odo1242
It would honestly be even funnier if the compiler just sent back your code in x86 assembly.
rickreynoldssf
That's got to be actually useful. I can't think how but there's got to be some situation where that is the best solution.
nehal3m
Computer floop noises. Nice.
l0rn
it would be a cool competition who makes the nicest program using the fax compiler
davidkunz
Nothing new, we've been doing it like that for ages here in Germany. But it's a cool Hamburger phone.
xyst
Can it also compile rust ;)
throwway120385
I don't understand. Is this not how everyone browses the web?
ManWith2Plans
Possibly inspired by this stack overflow question:

https://stackoverflow.com/questions/5508110/why-is-this-prog...