LISP to VB?
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
LISP to VB?

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
Mary Bloswick
Guest





Posted: Fri Mar 18, 2005 1:32 am    Post subject: LISP to VB? Reply with quote

Is there any good method of converting LISP routines to VB? (Which version
of VB?)

There are a number of good old LISP's around here, but I'd like to upgrade
things to a VB based library. I also would like to modify some of these
routines for use in other VB accessible CAD programs.

thank you.
MaryB

--
Obstacles are those frightful things you see when you take your eyes off the
goal.

Back to top
Laurie Comerford
Guest





Posted: Fri Mar 18, 2005 2:05 am    Post subject: Re: LISP to VB? Reply with quote

Hi Mary,

If the routine does what you want - what's the point of converting it?

If you want to improve the functionality, then a complete recoding to
incorporate the idea might be in order.

Having said that, you can clipboard the code into VBA and do some search and
replace type actions to transform the code.

--


Laurie Comerford
CADApps
www.cadapps.com.au

"Mary Bloswick" <Mbloswick@rwa.com> wrote in message
news:4239e984$1_2@newsprd01...
Quote:
Is there any good method of converting LISP routines to VB? (Which version
of VB?)

There are a number of good old LISP's around here, but I'd like to upgrade
things to a VB based library. I also would like to modify some of these
routines for use in other VB accessible CAD programs.

thank you.
MaryB

--
Obstacles are those frightful things you see when you take your eyes off
the
goal.

Back to top
Tony Tanzillo
Guest





Posted: Fri Mar 18, 2005 3:47 am    Post subject: Re: LISP to VB? Reply with quote

Because the two languages are so fundamentally different,
converting between them is not trivial, and you will probably
not find any automated means of doing it.

Another basic problem with converting LISP to VB, even
manually, is that many LISP programs rely on issuing
AutoCAD commands to perform various tasks. While there
is a way to execute AutoCAD commands from VB, there
are some major limitations and complications involved.

Hence, to convert a LISP macro that uses calls to
(command), will probably require a significant or complete
rewrite, using the ActiveX object model.

My advice is that if your LISP programs work now, leave
them alone.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005
http://www.acadxtabs.com

"Mary Bloswick" <Mbloswick@rwa.com> wrote in message news:4239e984$1_2@newsprd01...
Quote:
Is there any good method of converting LISP routines to VB? (Which version
of VB?)

There are a number of good old LISP's around here, but I'd like to upgrade
things to a VB based library. I also would like to modify some of these
routines for use in other VB accessible CAD programs.

thank you.
MaryB

--
Obstacles are those frightful things you see when you take your eyes off the
goal.



Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB