![]() |
PBASIC Tokenizer
Tokenizers available for Linux and Windows, to wrap your own Integrated Development Environment (IDE) around.
http://www.parallaxinc.com/html_file..._tokenizer.htm Word is that the Basic Stamp Editors will soon be available for Mac OS X and Linux soon. That's the last excuse for keeping Windows on my laptop. Now, I think it would be neat to have a simulator that will work off the tokenizer's output. |
WOW! I was asking Parallax for this stuff last year, but now I have it! Look for a new release of my Graphical program generator (RoboGUI ) that includes the ability to download straight to the RC.
|
I guess I'll have to update my BASIC Stamp Preprocessor too!
|
looks cool
|
Has anyone gotten this stuff to work yet? I keep getting ESP (the register, not the psychic ability) errors. Here's what I have:
typedef bool (*VerifyProc) (TModuleRec *); struct TModuleRec {...all kinds of stuff...}; then in main I have: VerifyProc TestRecAlignment; HINSTANCE ret; TModuleRec tModRec; ret=LoadLibrary("tokenizer.dll"); TestRecAlignment=(VerifyProc)GetProcAddress(ret, "TestRecAlignment"); (TestRecAlignment) (&tModRec); This last call always generates an esp verify error and tells me it is probably because my function pointer uses a different calling convention than the original function. However, I believe I am doing it correctly, but it is hard to verify as the people at Parallax hid the EXPORTs from QuickView. [EDIT] Nevermind... I just figured it out. Instead of using the normal __cdecl calling convention, it uses __stdcall. Thus, if you're trying to do something with these libraries, make sure you define your pointers as __stdcall: typedef bool (__stdcall *TestRecAlignmentProc) (TModuleRec *); [/EDIT] |
Re: PBASIC Tokenizer
Quote:
Speaking of which, my emulator is literaly days from its first official release. I'm just working out the bugs with the install program (thank goodness from InstallShield included with MSVC++). |
Re: Re: PBASIC Tokenizer
Quote:
|
True, but I don't really feel like reverse-engineering hex code. What I am considering doing, however, is using the Compile function to check syntax and then do my own processing, still based on the original ASCII code. Anyway, I just finished modifying RoboGUI and RoboEmu, and will release them as soon as I mail Parallax my signed license agreement to redistribute their library. Arghh... why couldn't they have open-sourced it (or even better, GPl'd it)?!?
|
Quote:
|
Quote:
|
| All times are GMT -5. The time now is 01:14. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi