|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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. |
|
#3
|
|||||
|
|||||
|
I guess I'll have to update my BASIC Stamp Preprocessor too!
|
|
#4
|
|||||
|
|||||
|
looks cool
|
|
#5
|
||||||
|
||||||
|
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] Last edited by rbayer : 25-09-2002 at 22:45. |
|
#6
|
||||||
|
||||||
|
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++). |
|
#7
|
|||||
|
|||||
|
Re: Re: PBASIC Tokenizer
Quote:
) |
|
#8
|
||||||
|
||||||
|
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)?!?
|
|
#9
|
|||||
|
|||||
|
Quote:
|
|
#10
|
|||||
|
|||||
|
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need to learn PBASIC...Where Should I Go? | IMDWalrus | Programming | 5 | 29-04-2003 16:43 |
| Obscure PBASIC for RoboEmu | rbayer | Programming | 1 | 28-03-2003 23:57 |
| PBasic 2.5 vs. 2.0 | Anthony Kesich | Programming | 6 | 09-02-2003 22:06 |
| How to use the PBASIC tokenizer | rbayer | Programming | 0 | 12-12-2002 12:56 |
| Simplifying PBasic | IDiggles | General Forum | 16 | 06-11-2001 01:36 |