
NEWBIE -- Need to build an interpreter into a VB application
Pardon me if this has been discussed, I did look over the recent
postings and didn't find an FAQ.
I am modifying a VB app. to include an interpreter for a small text
processing language (i.e. If-then-else, while, do-while, switch, but
no arrays, functions or data declarations [typeless like APL and AWK]).
In my old C days, I would bash one out in LEX/YACC or perhaps a more
modern toolset, today.
Are there any third-party tools to assist my in this? Has anyone done
such a thing?
I haven't found anything in my search, but am considering writing a DLL
to a set of C functions to load, thread and interpret my language. Being
a neophyte, I blythely assume I can do this without the requisite number
of pot-holes and bear-traps. I am specifically concerned about heap
management? Will a VB/C hybrid corrupt each other's memory if my C code
uses memory allocation? (I know, I know, RTFM).
Any suggestions will be greatly appreciated.
Cheers!