dmd's c-source file analyze to json file ?

dolive dolive89 at sina.com
Sat Feb 26 01:55:45 PST 2011


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 at gmx.com> a écrit dans le message de news: 
> mailman.1976.1298678829.4748.digitalmars-d at 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!




More information about the Digitalmars-d mailing list