|
Re: Cat Source Code at CodeProject.com
|
Posted: Nov 29, 2006 4:58 AM
|
|
I just thought Tiger related well to Cat and there was nothing on it on Google. Oh well, I'm sure there are other animals in the feline category.
I looked at the code and although I could convert most of the C# data structures to C++, I'm not sure I'm up to the task of converting your custom Enumeration classes. I don't know if implementing a class that does the same or subclassing a container class is the best way. Although I could port it as is, I'm not sure it would be clean C++ and I'm not sure how I would implement the features I want in such an environment. This would also take away time from my own project. So it'll have to wait for another day. I'll have to give it some thought before I commit to it. I have my own LR(1) parser generator and it seems to me this would be a lot easier to use with action routines. This way, I can follow along what it's doing in the grammar.
Christopher, what did you use for parsing? I didn't look too far into it, just the data structures. Do you have a custom parser? What about tokens? A complete grammar would shave off many many hours. Do you have a complete one? The one on your site seemed odd, but I can't remember why. I'll have to check again. BTW, I don't care if it's LR, LALR, or LL. I can convert them all.
In Canada, you can only transfer ownership of copyright. You can't put it in the public domain. At least there's no provision for doing so in the Copyright Act. I'm not a lawyer, but I doubt it matters much because intent is usually what's used in a court of law (as much as I hate them). Soonest I'll be able to get time to work on this is probably Feb, so we'll see. Either way, I think creds are a sign of respect.
|
|