Skip to content

Instantly share code, notes, and snippets.

View LeMoonStar's full-sized avatar

LeMoonStar

View GitHub Profile
@LeMoonStar
LeMoonStar / ucsp.l
Last active February 22, 2019 16:51 — forked from codebrainz/c99.l
UCSP Lex/Flex & YACC/Bison Grammars
D [0-9]
L [a-zA-Z_]
H [a-fA-F0-9]
E ([Ee][+-]?{D}+)
P ([Pp][+-]?{D}+)
FS (f|F|l|L)
IS ((u|U)|(u|U)?(l|L|ll|LL)|(l|L|ll|LL)(u|U))
%{
#include <stdio.h>