NEWBIE -- Need to build an interpreter into a VB application 
Author Message
 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!



Mon, 18 May 1998 03:00:00 GMT  
 NEWBIE -- Need to build an interpreter into a VB application


Quote:
>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?

VSVBX.VBX by VideoSoft has an AWK control, but I've never used it.
--
Andrew Marshall, Visual Basic junkie
Software Dynamics Consulting

72223,330 on CompuServe


Tue, 19 May 1998 03:00:00 GMT  
 NEWBIE -- Need to build an interpreter into a VB application


Quote:
>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!

We have the same need to provide a parsing function for our application that
will import/export to and from a database and legacy configuration files.
We have bought Visual Parse++ from Sandstone Technologies

that allows you to write a lexer/parser in VB (as well as C++ and Delphi).
Unfortunately we havn't gotten around to trying it out yet, and I don't know
if they have an OCX version yet.
Phil


Wed, 20 May 1998 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Building Applications Outlook 97 Book needed

2. What is the difference between build solution and build application

3. Build Web Page in Vb.net Application

4. How to deploy a VB application built using the SSTab control

5. Are there tools for building security on my vb Application

6. Building VB applications from command line

7. Build an Help_File for VB application

8. Building an Help-File for VB application

9. Build an felp-file for VB application

10. Building Internet Applications with VB

11. PROBLEM!!-->VB Application/IE6 crashing behavior when running a WinNT built app on WinXP

12. An error on building IIS application with VB

 

 
Powered by phpBB® Forum Software