First things first - what is it going to be doing? Is it a small and quick drop-in for command.com? Or a heavyweight replacement that does a lot more things that command.com couldn't do? Decide that first.
Secondly, if you know about BNF, lex and yacc, it might be a good idea to do a lot of the internal stuff - eg, for/next, if/errorlevel, etc - as a BNF grammar - that way it's nice and quick. What programming language you use is entirely up to you - though I doubt that Java or C# are available on any current or previous MS/PC/DR-DOS clone, and I doubt that anyone will provide them for it either. But I would ask you don't use GW-BASIC or its clone/s - I've never tried a language I've been more glad to see the back of than that one! ;) Visual Basic for DOS and QBasic are a lot saner than GW-BASIC, Happy hacking! Wesley Parish On Friday 14 March 2008 10:47, Marco Achury wrote: > Just a newby question. > I would like to write an alternative interpreter command to replace > command.com/Freecom. > I have basic programming knowledge. > I'm clear that I must to provide a replacement for all internal commands. > Can I simply write my program in my favorite language, compile as stand > alone .exe and rename it as command.com? > There is something else I must to know? -- Clinersterton beademung, with all of love - RIP James Blish ----- Gaul is quartered into three halves. Things which are impossible are equal to each other. Guerrilla warfare means up to their monkey tricks. Extracts from "Schoolboy Howlers" - the collective wisdom of the foolish. ----- Mau e ki, he aha te mea nui? You ask, what is the most important thing? Maku e ki, he tangata, he tangata, he tangata. I reply, it is people, it is people, it is people. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
