Autocomp-lite
Sunday, April 4th, 2004
There’s a new project in town. I was working on building autocompletion in to Nimf and I decided to first try and make a seperate program to do the job for me. So I ventured into C land and built it. Quite easy actually. So then I cleaned up the seperate program and started documenting it. I thought: “Aah, what the hell, might as well make into a full library while I’m at it so I can easily plunge it into Nimf“. And so autocomp-lite was born.
autocomp-lite is a very lightweight library which provided your program with autocompletion capabilities. It includes a test-stub, which looks like this when the program is run seperate instead of linked against another program:
[root@eek]~/dev/autocomp# ls
Makefile archive autocomp autocomp.c niettus xHIEROOOOH
[root@eek]~/dev/autocomp# ls ..
autocomp thumber
[root@eek]~/dev/autocomp# ./autocomp ../au
../au: ../autocomp
[root@eek]~/dev/autocomp# ./autocomp gmpla
gmpla: gmplayer
[root@eek]~/dev/autocomp# ./autocomp /b
/b: /boot
/b: /bin
