To unsubscribe from this group and stop receiving emails from it, send an email to jansson-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jansson-users/76289feb-e1cb-c307-cec4-2492f9e75a57%40gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jansson-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jansson-users/a487bd46-bbab-68dc-2034-04989c7ae5cf%40gmail.com.
Hi Greame,
After some research & study on Jansson & detailed study from website : https://jansson.readthedocs.io/en/latest/tutorial.html.
I have parsed the json encoded c program code.
Why are you doing so?
Now what i am looking for is, can we pack the generated 'c program code' back to json code format using jansson ?.If yes, then can I know how?
Why do you need to do so?
Did you consider:
generating C or C++ code, as a set of textual files? An example (rather useless, except to show that on Linux you can have many plugins) is https://github.com/bstarynk/misc-basile/blob/master/manydl.c
A book explaining the interest of generating a lot of C
plugins/modules on Linux is Jacques Pitrat last book:
https://www.amazon.fr/Artificial-Beings-Conscience-Conscious-Machine/dp/1848211015
ISBN-13 : 978-1848211018
writing some GCC plugin (see https://gcc.gnu.org/ and https://gcc.gnu.org/onlinedocs/gccint/Plugins.html ....) and use its GIMPLE representation (see https://gcc.gnu.org/onlinedocs/gccint/GIMPLE.html ....)
Thanks
-- Basile Starynkevitch <bas...@starynkevitch.net> (only mine opinions / les opinions sont miennes uniquement) 92340 Bourg-la-Reine, France web page: starynkevitch.net/Basile/