Name: Anonymous 2014-03-31 7:59
Let's write a good, small, compact, extensible, standards-compliant and feature-full web browser that doesn't send the user's private info to the Big Brother.
#include <stdio.h>
void
main (void) {
char address[666];
printf("Give URL: ");
fflush(stdout);
scanf("%s", url);
printf("Loading...\n");
return 1;
}
(ql:quickload "drakma")
(defun browse-web ()
(let (input)
(loop do
(format t "> Input a URI: ")
(handler-case (progn
(setf input (read-line))
(if (member (string-downcase input)
'("quit" "exit" "leave" "fuck lisp")
:test #'string-equal)
(loop-finish)
(format t "~a~%~%~%" (drakma:http-request (string input)))))
(error () (format t "Some kind of error.~%"))))
(when (string-equal (string-downcase input) "fuck lisp")
(format t "fuck you too.~%"))))
#include <stdlib.h>
int main(int x, char ** y)
{
return rand();
}