21 lines
343 B
C
21 lines
343 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
#include <editline.h>
|
|
|
|
int main(int argc, char * argv[])
|
|
{
|
|
puts("jlispy v0.0.1");
|
|
puts("Press Ctrl+C to exit\n");
|
|
|
|
while (1)
|
|
{
|
|
char * input = readline("jlispy> ");
|
|
add_history(input);
|
|
printf("no you're a %s\n", input);
|
|
free(input);
|
|
}
|
|
|
|
return 0;
|
|
}
|