Go to Post Nerd harder, be seen doing it... don't care what others think. - Mr. Lim [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 18-07-2002, 01:21
Ulibrium Ulibrium is offline
Registered User
#0920 (Lancers)
 
Join Date: Jan 2002
Location: Philadelphia, PA
Posts: 29
Ulibrium is an unknown quantity at this point
Send a message via AIM to Ulibrium
I downloaded this program, and I have to say, this is nice. I was also a programmer for our team... and I plan on majoring in Computer Science when I enter college this fall, and from my point of view you deserve mad props for this. This year, I worked on a mathematics parsing program which would do things like 2.5^(2*-4) and whatnot in correct order. Considering that my big glorious project is actually something you will implement as one component of your big initiative that is emulationFIRST, I really have no place to make suggestions, but I'll do it anyway.

1) Parser programs are very OOP-friendly. I did mine in C++ and built it around classes. The power in this is that you can make a general token class a base class and have all the different kinds of tokens, like reserved words or math operators, different derived classes. But what I love about C++ in this case is try, catch, and throw. Whenever I have a parsing error I just throw an exception and it gets me right where I want to be in my program flow. I understand that your deeply entrenched by now in the structure of your program and a conversion to classes would be too time-consuming for what it's worth. Plus you might not have the compiler for it.

2) Real time???????? You can use the game ports in a computer to test it out. I know it's a stretch and it's probably better to somehow do it from the OI, but hey, it's just an idea.

3) If you go GUI, my suggestion is compile the C to DLL and have a VB front-end slide right on top of it. This way, you could possibly implement suggestion #2. But, this is platform limited, and I don't know if you have the compiler for it. This is just the easier way I would do it; if you do it in C, then all the more respect to you.

Again, props. I saw your web site, good luck with the co-op and with RIT. I'll read some more of this code.... looks yummy.
__________________
Three mathematicians slave over a board full of tensor calculus. One looks to the other and asks... "do you remember what we sent out to prove?"
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
emulationFIRST v0.04 Matt Leese Programming 7 09-07-2002 08:54
emulationFIRST v0.03 Matt Leese Programming 7 03-07-2002 13:00
emulationFIRST v0.02 Matt Leese Programming 3 02-07-2002 16:37
emulationFIRST (aka PBasic emulator) Matt Leese Programming 5 30-06-2002 12:06


All times are GMT -5. The time now is 07:59.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi