|
-
May 22nd, 2003, 04:57 AM
#1
Thread Starter
Junior Member
Didn't think it would be so difficult!!
I'm trying to write a BASIC compiler ... one that compiles a VB style BASIC into a pseudocode that can then be interpreted by my application.
My intention is (or was) to write 2 COMponents that could be 'plugged' into any application. One being the compiler component the other the interpreter.
Prior to compiling (or interpreting) anything both components are 'fed' a list of internal function declarations and it is these that the interpreter returns to the application which can then act on them accordingly.
Anyway ... it's only when you start to write these things that you realise how difficult it is. I'm not one to give up easily as I love a challenge ... but I've kind of hit a brick wall on this. It's easy to write a very simple complier ... but as soon as you try to write one for a language with any level of sophistication it becomes very difficult.
Does anyone know of any COMponents like the ones I have described that are in existence??
Cheers,
Mark.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|