[Introspector-developers] TODO list for the tree-dumper.c file
Status: Beta
Brought to you by:
mdupont
|
From: James M. D. <mdu...@ya...> - 2002-12-04 16:55:39
|
Here is an overview of the current todos in the tree-dumper.c.
You will see line number and a message, followed by a description of
the todo.
If someone wants to help add these into the sf task manager, I would
appreciate it, otherwise I will add them in tomorrow.
------------------------------------------------------------------------
285: // TODO, we should cache these, and look it up, do we have
this field created?
Here we need to build the gcc rdf model in memory, and make it
available to other processes. But you not that we get a string name of
a field, and want to return the predicate in the gcc rdf model that
represents that string.
I think we need to build a c-api based on the introspectors gcc model.
Starting with the JavaGenerator.pm and extending that to a RedLandC
generator, to output a C api for the introspector model.
But on the other side, we need to be able to easily loo
------------------------------------------------------------------------
327: TODO : take the type of the node that is available
code_name = tree_code_name[(int) TREE_CODE (t)];
(emitted by intrspctr_set_node_type)
and build that into the uri, so we append for each type of
node, a different base uri. We could store them in an array of
uri bases.
This will be similar to the handling of rdf_concept.h.
this should wait for the
------------------------------------------------------------------------
395: // TODO: localize the filenames and extract the URI for them
void intrspctr_dump_filename(di, filename,linenumber)
here we have the real issue of handling the files on the local
system, we need to be able to map a local file onto an URI, and even
put all the nodes from one file into one rdf file in an intelligent
manner.
------------------------------------------------------------------------
785: dump_child ("chan", TREE_CHAIN (t)); // TODO: maybe we
need to turn this off on follow chains?
this is an issue of when the chains are travesed, this would be a
problem if we got infinite recursion. Not important now, we dont have
infinite recursion here.
------------------------------------------------------------------------
902: // TODO, replace with a string literal!
Here we need to call intrspctr_add_statement_literal_string instead of
intrspctr_add_statement_typed_string
------------------------------------------------------------------------
Another TODO is the escaping of strings, mario has been working on
that, but I put it in here anyway.
------------------------------------------------------------------------
Now there is one more important todo left :
Load in the uris and nodes used in "intrspctr_init_model" from an rdf
resource. That will allow for customizing of the rdf dumping without
recompiling.
mike
=====
James Michael DuPont
http://introspector.sourceforge.net/
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
|