Is it possible to call LISP functions from other languages?



 Is it possible to call LISP functions from other languages?..

Answer / chaitanya

LISP provides a “call-back” function, when programmer associates a foreign language function name with a LISP function, it is linked with these call-back functions. With foreign function programmer must supply the result data types and argument, so that LISP may perform conversions at the interface

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More AI Languages Interview Questions

 How many items are available in mapping primitives are there? a) 3 b) 4 c) 5 d) 6

1 Answers  


Which exploit the fact that lisp forms are just expressions meant to be evaluated? a) List b) Procedure c) Macro d) None of the mentioned

1 Answers  


Which checks the evaluated key form against the unevaluated keys using EQL? a) COND b) CASE c) NIL d) SETF

1 Answers  


 What is the output of the following statement? * (defun both-ends-with-special ()(setf whole-list (cons (first whole-list) (last whole-list)))) * (setf whole-list ‘(monday tuesday wednesday thursday friday)) * (both-ends-with-special) a) Monday b) Friday c) Wednesday d) Both a & b

1 Answers  


Explain what is LISP constants?

1 Answers  






 Which require sophisticated precedence compputation? a) Superclass b) Multiple Superclass c) Subclass d) None of the mentioned

1 Answers  


What is the output of the following statement? * (defun make (title author) (list (list ‘title title) (list ‘author author))) * (setf book (make ‘(Common Lisp) ‘(Guy steele))) a) Common Lisp b) Guy steele c) Make d) ((TITLE (COMMON LISP)) (AUTHOR (GUY STEELE)))

1 Answers  


 What is the programming structure for LISP?

1 Answers  


Explain List of programming languages for artificial intelligence?

0 Answers  


 Which primitive removes all but the last element from the list? a) Last b) First c) Remove d) Revoke

1 Answers  


 What is the output of the following statement? * (setf breakfast ‘(eggs bacon toast tea)) * (cond ((> (length breakfast) 10) ‘glutton) ((not (endp breakfast)) ‘normal)(t ‘anorexic)) a) Anorexic b) Breakfast c) Eggs d) Normal

1 Answers  


 Which keyword embeds the initial element in an array in LISP? a) Initial b) Initial-content c) Initial-element d) None of the mentioned

1 Answers  


Categories