Quote:
Originally posted by Dave Flowerday
Rob,
Why try to interpret the C code as it runs? As you say, implementing all of the language constructs would be a lot of work. It would be much more efficient to just compile the user's RC code into a native library on the host's workstation and then link it in at runtime... I would think that would simplify the porting of your application quite a bit. Most likely IFI will provide some sort of library for the RC that will have some standard functions for reading inputs, writing outputs, setting PWMs, etc., so all you'd have to do is provide the same interface for the user's code to work with.
Besides, it'll be much harder to interpret programs written for the new processor and maintain real-time speed than it was with the pokey BASIC Stamp.
|
Hmm if that can be done, then all you would need to write would be an assembly interpreter. The PIC instruction set is very small.
And rob, don't worry about testing. I think people are quite eager to test. The full details im guessing will be out around the 10th.