I have recently found a keen interest in Theory of Computation. Hence, i implemented a few programs based on automata. I have uploaded the code on github released under GPL.
1. A Transducer for stripping comments from a file
http://varrunr.wordpress.com/2009/12/10/a-transducer-for-removing-commen...
http://github.com/varrunr/Transducer-for-Stripping-comments
2. Graphically modelling a Finite State Machine using the Graphwiz API
http://varrunr.wordpress.com/2009/12/10/modelling-automata-using-graphwi...
http://github.com/varrunr/Modelling-Automata-using-Graphwiz-API/
*
You can download the code as a tar.gz or using git
If you are planning on making your code/program public, here are some notes i thought are important
1. Look at http://www.gnu.org/licenses/gpl-howto.html and decide what license you want to release your program under. Each license has specific issues that it addresses.
2. Once youve decided your licence, make sure you include a copy of the license.
3. If you are using a portion of a program written by someone else, make sure you include his copyright for his code. You have to give the author the due credit for his work.
4. Choose a version control system/ site you find appealing. The repository could be an svn, git etc.
5. Thats it folks!