|
-
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.
-
May 23rd, 2003, 04:58 AM
#2
Thread Starter
Junior Member
I think I'll persevere
I've had a search on the web and haven't found much on offer in the way of embeddable scripting languages. The nearest I found to what I'm after is a language called XLang10. This is an ActiveX interpreter for a BASIC style language. I downloaded the demo version and tried it and it sort of worked but not very well and then crashed VB.
So, I've decided I'm going to persevere with my own scripting language as there seem to be a bit of a gap in the market here.
I'll let you know how it goes!!
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
|