michaeljklein / CPlug

Hot plug C into Haskell, with automatic binding generation and recompilable instances (eventually)
http://michaeljklein.github.io/CPlug/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Need parser #1

Closed michaeljklein closed 8 years ago

michaeljklein commented 8 years ago

Need to decide whether to roll my own parser

It would probably be best to hand parse a few examples until fully needed.

michaeljklein commented 8 years ago

Using Language.C.Parser. It should have all the tools I need and parsing C is a pain. Additionally, as I hadn't decided to use POSIX pipes in C when I opened this issue, I didn't know of other details that will be helped by using Language.C (such as pointer types, easy struct parsing, and a head start on making a C pipe reader/writer code generator).