#LISP -> ADS Converters?
27-Nov-91 00:55:05
Sb: #22183-#LISP -> ADS Converters?
Fm: Tony Tanzillo [LISP TM] 71241,2067
To: Don Brown 70372,326
Don – Hi! Long time-no type.
Yes, many AutoLISP functions could be passed thru a black-box, and come out
the other side as C functions. But, keep in mind that AutoLISP functions do
not contain declarations, and symbols can reference values outside of the body
of the function they appear in. In C, you can decalre a symbol as a global,
but you can't reference a variable bound to another environment, dynamically,
which is what they refer to as 'dynamic scoping'.
There are probably many functions that will convert, some easily, and some not
so easily, but I'd really love to see someone illustrate how to convert any
AutoLISP program that does something like this:
(eval (read "(some-function some-argument)"))
You can do it, all you need is to bind a LISP interpreter to your ADS program.
<g>
-TonyT.