www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - dmd's c-source file analyze to json file ?

reply dolive <dolive89 sina.com> writes:
How to dmd's c-source file  analyze to json file ?
thank's!
Feb 25 2011
parent reply Jonathan M Davis <jmdavisProg gmx.com> writes:
On Friday, February 25, 2011 09:35:09 dolive wrote:
 How to dmd's c-source file  analyze to json file ?
 thank's!
I think that you're going to have to reword that. I have no idea what you're asking for. - Jonathan M Davis
Feb 25 2011
parent reply dolive <dolive89 sina.com> writes:
Jonathan M Davis дµ½:

 On Friday, February 25, 2011 09:35:09 dolive wrote:
 How to dmd's c-source file  analyze to json file ?
 thank's!
I think that you're going to have to reword that. I have no idea what you're asking for. - Jonathan M Davis
I want to use it to do ide's auto-complete.
Feb 25 2011
parent reply Jonathan M Davis <jmdavisProg gmx.com> writes:
On Friday, February 25, 2011 15:11:54 dolive wrote:
 Jonathan M Davis =D0=B4=B5=BD:
 On Friday, February 25, 2011 09:35:09 dolive wrote:
 How to dmd's c-source file  analyze to json file ?
 thank's!
=20 I think that you're going to have to reword that. I have no idea what you're asking for. =20 - Jonathan M Davis
=20 I want to use it to do ide's auto-complete.
Okay. Use what? You're asking something about a one of dmd's source files i= n=20 relation to a json file. But your question is poor enough English that I do= n't=20 understand what you're asking about. It's something to do with dmd's source= and=20 json, but I don't know what. I understand that English can be difficult if = it's=20 not your native language, but your question still needs to be good enough=20 English for me to understand it. And it's not. So, you need to reword your= =20 question in a clearer manner. All I understand is that you're trying to do= =20 something with an IDE's auto-completion feature that somehow involves a C s= ource=20 file for dmd and a json file. That's not enough for me to understand what y= our=20 question really is. =2D Jonathan M Davis
Feb 25 2011
parent reply "Akakima" <akakima33 gmail.com> writes:
Is this more understandable:

I think he wants to know what part of DMD produce the json output.
He wants to know how is implemented the production of the Json file.
He wants to extract the code/function responsible for the production of json 
and reuse this code in an IDE.
May be he wants to study this code to learn how to parse D source code (or 
other language source code), to produce a json file, in order to more easily 
implement the auto-complete feature for an IDE.

Well, that was hard to explain.
English is not my native language.


"Jonathan M Davis" <jmdavisProg gmx.com> a écrit dans le message de news: 
mailman.1976.1298678829.4748.digitalmars-d puremagic.com...
On Friday, February 25, 2011 15:11:54 dolive wrote:
 Jonathan M Davis дµ½:
 On Friday, February 25, 2011 09:35:09 dolive wrote:
 How to dmd's c-source file  analyze to json file ?
 thank's!
I think that you're going to have to reword that. I have no idea what you're asking for. - Jonathan M Davis
I want to use it to do ide's auto-complete.
Okay. Use what? You're asking something about a one of dmd's source files in relation to a json file. But your question is poor enough English that I don't understand what you're asking about. It's something to do with dmd's source and json, but I don't know what. I understand that English can be difficult if it's not your native language, but your question still needs to be good enough English for me to understand it. And it's not. So, you need to reword your question in a clearer manner. All I understand is that you're trying to do something with an IDE's auto-completion feature that somehow involves a C source file for dmd and a json file. That's not enough for me to understand what your question really is. - Jonathan M Davis
Feb 25 2011
parent dolive <dolive89 sina.com> writes:
Akakima дµ½:

 Is this more understandable:
 
 I think he wants to know what part of DMD produce the json output.
 He wants to know how is implemented the production of the Json file.
 He wants to extract the code/function responsible for the production of json 
 and reuse this code in an IDE.
 May be he wants to study this code to learn how to parse D source code (or 
 other language source code), to produce a json file, in order to more easily 
 implement the auto-complete feature for an IDE.
 
 Well, that was hard to explain.
 English is not my native language.
 
 
 "Jonathan M Davis" <jmdavisProg gmx.com> a écrit dans le message de news: 
 mailman.1976.1298678829.4748.digitalmars-d puremagic.com...
 On Friday, February 25, 2011 15:11:54 dolive wrote:
 Jonathan M Davis дµ½:
 On Friday, February 25, 2011 09:35:09 dolive wrote:
 How to dmd's c-source file  analyze to json file ?
 thank's!
I think that you're going to have to reword that. I have no idea what you're asking for. - Jonathan M Davis
I want to use it to do ide's auto-complete.
Okay. Use what? You're asking something about a one of dmd's source files in relation to a json file. But your question is poor enough English that I don't understand what you're asking about. It's something to do with dmd's source and json, but I don't know what. I understand that English can be difficult if it's not your native language, but your question still needs to be good enough English for me to understand it. And it's not. So, you need to reword your question in a clearer manner. All I understand is that you're trying to do something with an IDE's auto-completion feature that somehow involves a C source file for dmd and a json file. That's not enough for me to understand what your question really is. - Jonathan M Davis
thanks Akakima and Jonathan M Davis! I want to analyze dmd's c-source file to json file,Since I do not know write d.lex and d.parse, so that I want to parse json file such a simple way to achieve the automatic completion of ide. thank's!
Feb 26 2011