[Codemill-spec] A Welcome to the Code Mill mailing list
Status: Planning
Brought to you by:
richard_kolb
From: Richard K. <rk...@sw...> - 2000-12-01 14:06:51
|
Hi All, Sorry I have not got things going , customers have been jumping down my throat this week :-( Just to get things started I would like to repeat some of the things that happened on the Code Crusader mailing list. Richard Kolb Wrote : >I think it was David that pointed out that a code generator like codemill , >could generate code that is under license of the generator. ( not very nice! >) > >Do you think we can add a exception to the license to say , all code >generated should be under 'no license.' ? To which John Lindel Replied, > >I thought that BSD didn't enforce this? If it does, you could switch to >the Artistic License that Perl uses. I think that is even less >restrictive. As far as I saw there have been a few flame wars about this, so maybe we should go for the Artistic License as John Suggested. ------ As some one said ( I can't remember who ) What should code mill be developed in , ie C,C++,STL,libarys etc... Is suggest using no library's since the project is quite small and wont need things like threads etc.. I would also suggest using C++ , we don't need anything fancy , just something maintainable and simple. When it comes STL , I think this is really going overboard. Unless I'm missing some thing. ----- Requirements (according to Richard anyway ) 1) Create a class from scratch. 2) Derive a class from a base class / classes. 3) Add a member variable with a given visibility. 4) Add a member function with a given visibility and attributes like virtual/const etc. 5) The ability to have coding style templates to suit different styles and a custom user defined style. 6) The generated code must be under 'no license'. 7) The interface to Code Mill should a command line app, which can be used by Code Crusader etc. 8) The command line interface should be easy enough to use by a user on the command line. The command line interface should properly look +- like this : "codemill -c NewClass -d DeriveClass -I./ -t template.5 -o output.cc output.h" Where -c is the class to create -d for the class to derive from -I for the search paths -t coding standard to use. -o the output files to create the class in. This would look for file template.5 in the codemill template directory and generate a class to the users coding standards. I'm sure there are many more requirements so please add/change mine. Thanks, Richard. |