logoISU  

CS 456 - Systems Programming

Spring 2024

Displaying ./code/apr11/example1.l

%{
#include <stdio.h>
#include <stdlib.h>
%}

%%
stop    printf("Stop command received\n");
start   printf("Start command received\n");
hello   printf("Hi!\n");
exit    exit(0);

%%