Hi,
I am implementing a miniature version of Google to facilitate the searching on source codes in Squeak. I had been able to construct an index which contains all the keywords of source codes in Squeak. Next, I will develop an algorithm to improve the efficiency to search all these keywords in the index and then a simple search UI will be there to provide code searching facility to all Squeak users.
Thanks.
Regards, Zhe Xi
----- Zhe-Xi
On Sun, Feb 27, 2011 at 05:28:55AM -0800, Zhe-Xi Lim wrote:
Hi,
I am implementing a miniature version of Google to facilitate the searching on source codes in Squeak. I had been able to construct an index which contains all the keywords of source codes in Squeak. Next, I will develop an algorithm to improve the efficiency to search all these keywords in the index and then a simple search UI will be there to provide code searching facility to all Squeak users.
Thank you, this sounds very interesting!
Dave
Hi Zhe,
You might want to contact Andres Valloud about which hash tables would be most appropriate and/or efficient in Smalltalk for such searches. He's written a book about it. http://www.lulu.com/product/paperback/hashing-in-smalltalk-theory-and-practi...
- Darius
On Sun, Feb 27, 2011 at 5:28 AM, Zhe-Xi Lim limzhexi@hotmail.com wrote:
Hi,
I am implementing a miniature version of Google to facilitate the searching on source codes in Squeak. I had been able to construct an index which contains all the keywords of source codes in Squeak. Next, I will develop an algorithm to improve the efficiency to search all these keywords in the index and then a simple search UI will be there to provide code searching facility to all Squeak users.
Thanks.
Regards, Zhe Xi
Zhe-Xi
View this message in context: http://forum.world.st/Google-for-Squeak-Source-Codes-tp3326787p3326787.html Sent from the Squeak - Dev mailing list archive at Nabble.com.
Awesome! This is something that I've been thinking about ever since the first time I watched a progress bar crawl across the screen after choosing to search all source code for a string.
Of particular value, I think, would be a "front end agnostic" search API, that doesn't know anything about the UI that might present it, can be queried from a workspace, etc. This because there are a lot of ways to present search functionality to users. With a nicely decoupled API, one could wrap it with WebServer and put it online, etc, which could be really lovely for folks looking for documentation.
On Feb 27, 2011, at 5:28 AM, Zhe-Xi Lim limzhexi@hotmail.com wrote:
Hi,
I am implementing a miniature version of Google to facilitate the searching on source codes in Squeak. I had been able to construct an index which contains all the keywords of source codes in Squeak. Next, I will develop an algorithm to improve the efficiency to search all these keywords in the index and then a simple search UI will be there to provide code searching facility to all Squeak users.
Thanks.
Regards, Zhe Xi
Zhe-Xi
View this message in context: http://forum.world.st/Google-for-Squeak-Source-Codes-tp3326787p3326787.html Sent from the Squeak - Dev mailing list archive at Nabble.com.
Casey Ransberger-2 wrote:
Awesome! This is something that I've been thinking about ever since the first time I watched a progress bar crawl across the screen after choosing to search all source code for a string.
Hi Casey,
Yes, I had developed the search engine. It is called "StGoogle - Search Engine for Smalltalk". Now it is available in Squeak Source: http://www.squeaksource.com/StGoogle.html http://www.squeaksource.com/StGoogle.html . Now the annoying progress bar can be eliminated and start to enjoy searching for codes using StGoogle, it satisfies your search in less than a second.
In order to launch the search UI, fire up a workspace in Squeak and do the command: StGoogleBrowser openStGoogleBrowser.
Hope you can have a try on it.
Thanks and Regards, Zhe-Xi
-- View this message in context: http://forum.world.st/Google-for-Squeak-Source-Codes-tp3326787p3422608.html Sent from the Squeak - Dev mailing list archive at Nabble.com.
Zhe-Xi Lim wrote:
Yes, I had developed the search engine. It is called "StGoogle - Search Engine for Smalltalk". Now it is available in Squeak Source:
Did you move it to: http://www.squeaksource.com/StSearch.html ?
(There is no redirect at the previous address.)
dcorking wrote:
Did you move it to: http://www.squeaksource.com/StSearch.html ? (There is no redirect at the previous address.)
Yes, I need to change the name for the search engine because Google may not like it when I used his name . Feel free to get it a try. It can be launch from doing the command: StSearchBrowser openStSearchBrowser in a workspace.
Thanks.
Zhe-Xi
-- View this message in context: http://forum.world.st/Google-for-Squeak-Source-Codes-tp3326787p3425010.html Sent from the Squeak - Dev mailing list archive at Nabble.com.
squeak-dev@lists.squeakfoundation.org