c2json

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Further to my previous email
(http://www.spinics.net/lists/linux-sparse/msg03448.html), I have been
working with sparse to print an abstract syntax tree from an OpenCL
kernel code in Json. I made a little program to do this, and it is
something similar to "c2xml.c" or "ast-view.c". Actually, as an OpenCL
kernel is a subset of C, the program seems to work with "traditional"
C code as well. If this patch has any value to sparse (example,
how-to...), you can do what you want with it, and I hope the code
could help someone in the future to understand how sparse is working.
Fabien Cellier (fabien.cellier@xxxxxxxxx) and me will maintained the
program.

Regards,
Guillaume Oberlé

Attachment: c2json.patch
Description: Binary data


[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux