Skip to content

Instantly share code, notes, and snippets.

View luckyshq's full-sized avatar

Shengqi Zhang luckyshq

  • Sheng Yan Tech
  • China, GuangZhou
View GitHub Profile
@luckyshq
luckyshq / Lexiacl_analyzer.c
Created September 29, 2013 03:40
A simple Lexical analyzer
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
//void scaner();
int letter(char);
int digit(char);
char prog[80], token[8];