|
From: | Kon Lovett |
Subject: | Re: [Chicken-users] egg documentation |
Date: | Thu, 21 Feb 2008 11:22:45 -0800 |
On Feb 21, 2008, at 10:55 AM, Alejandro Forero Cuervo wrote:
Given the following SQL table: CREATE TABLE symbols ( symbol varchar, file varchar, line integer ); could someone create a function that receives (1) a base path containing a checkout of the chicken-eggs svn repository, (2) a path to some file inside the repository and (3) a sqlite3 database with said table and, if the file is a Scheme file outside of the wiki, adds one entry to the table for each symbol defined?
I will take on this burden ;-) (wiki-db-update-symbols! db-file base-path file-path) -> booleanWould the absolute file pathname be (make-pathname base-path file- path)? Or is is file-path not relative? (If it isn't why the base path?)
The "file" column is what? An absolute pathname, a relative pathname, a filename w/ extension, a filename w/o extension?
I would use something similar to the process in the "source-xref" egg (un-released) to find the defined symbols. It provides a Chicken compiler 'user-post-analysis-pass'.
I'd like to hook said function in our post-commit script and try to use the table in the expansion for the <procedure>...</procedure> and similar tags to provide links to the definition for each symbol. Alejo. http://azul.freaks-unidos.net/ _______________________________________________ Chicken-users mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/chicken-users
Best Wishes, Kon
[Prev in Thread] | Current Thread | [Next in Thread] |