Skip to content

Instantly share code, notes, and snippets.

@smtlaissezfaire
Created June 19, 2010 19:31
Show Gist options
  • Save smtlaissezfaire/445206 to your computer and use it in GitHub Desktop.
Save smtlaissezfaire/445206 to your computer and use it in GitHub Desktop.
hopcroft:c_recl(master) scotttaylor$ ./bin/c-recl
Welcome to the C recl (read-eval-compile loop)
type .help for this help
.break to restart the repl,
. to compile
.list to list the current source code
.exit to quit
> #include <stdio.h>
>
> int main() {
> puts("hi there");
> }
> .
gcc /var/tmp/tmp.0.2At1Q9.c -o /var/tmp/tmp.0.2At1Q9.c.o
hi there
> .list
#include <stdio.h>
int main() {
puts("hi there");
}
> .break
> .list
> .exit
hopcroft:c_recl(master) scotttaylor$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment