Re: [Oopic-compiler-devel] Emulator
Status: Planning
Brought to you by:
ndurant
From: D. D. M. <dd...@mc...> - 2004-12-17 01:20:43
|
Based on the Python discussion earlier, I introduced a work collegue to it, and he went ahead and wrote a PLC (ladder logic) program comparison/differences tool. I still have to write my first "Hello World", although I have read the manual and think I have the gist of the language. Once the emulator is written, then why not just compile it directly to PIC/SX/AVR chips and bypass the oopic altogether? I suppose that is probably going a bit father than where we are headed, though. And if we are up to that level of effort, wouldn't we be writting directly for the chips already? Incidently, have you noticed the recent release of Parallax's SX/B basic preprocessor for the SX chips? Daniel ----- Original Message ----- From: "Neil Durant" <nd...@us...> To: <oop...@li...> Sent: Thursday, 16 December 2004 19:56 Subject: [Oopic-compiler-devel] Emulator > Following a bit of abortive discussion on the OOPic mailing list about an > OOPic emulator, it strikes me that actually it wouldn't be so hard to do. > We have the spec of the byte code, and it's a relatively simple stack-based > machine. I guess the hard part would be modelling the VCs, but again, not > all that difficult. > > Btw, regarding the OOPic compiler, I'm half way through writing a > preprocessor for it, in Python, and it's fitting together nicely. I'm > going to get some time over Christmas to work on it, so I should have > something usable to upload by the New Year. I chose to start on a > preprocessor because (a) it would be useful, and (b) it's a gentle > introduction to Python for me, before embarking on the compiler fully. > > Have a good Christmas, guys! > > Neil > -- > Neil Durant > <nd...@us...> > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Oopic-compiler-devel mailing list > Oop...@li... > https://lists.sourceforge.net/lists/listinfo/oopic-compiler-devel |