Skip to content

Instantly share code, notes, and snippets.

@dherman
Created July 18, 2013 23:48
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dherman/6034055 to your computer and use it in GitHub Desktop.
Save dherman/6034055 to your computer and use it in GitHub Desktop.
A lightweight implementation of node.js
#include <stdio.h>
int main() {
int *p = 0;
char line[1024];
printf("> ");
fgets(line, 1024, stdin);
*p = 12;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment