|
INTERVIEW QUESTIONS
PROGRAMMING LANGUAGES
LISP PROGRAMMING
DETAILS
Question: Can I call Lisp functions from other languages?
Answer: In implementations that provide a foreign function interface as described above, there is also usually a "callback" mechanism. The programmer may associate a foreign language function name with a Lisp function. When a foreign object file or library is loaded into the Lisp address space, it is linked with these callback functions. As with foreign functions, the programmer must supply the argument and result data types so that Lisp may perform conversions at the interface. Note that in such foreign function interfaces Lisp is often left "in control" of things like memory allocation, I/O channels, and startup code (this is a major nuisance for lots of people).
|
|
|
Category |
Lisp Programming Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9436 users |
Added on |
5/15/2014 |
Views |
67333 |
Rate it! |
|
|
Question:
Can I call Lisp functions from other languages?
Answer:
In implementations that provide a foreign function interface as described above, there is also usually a "callback" mechanism. The programmer may associate a foreign language function name with a Lisp function. When a foreign object file or library is loaded into the Lisp address space, it is linked with these callback functions. As with foreign functions, the programmer must supply the argument and result data types so that Lisp may perform conversions at the interface. Note that in such foreign function interfaces Lisp is often left "in control" of things like memory allocation, I/O channels, and startup code (this is a major nuisance for lots of people). Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How do I save an executable image of my loaded Lisp system? How do I run a Unix command in my Lisp? How do I exit Lisp? Access environment variables?
|
View Answer
|
|
How do I determine if a file is a directory or not? How do I get the current directory name from within a Lisp program? Is there any way to create a directory?
|
View Answer
|
|
What is the "minimal" set of primitives needed for a Lisp interpreter?
|
View Answer
|
|
Where can I learn about implementing Lisp interpreters and compilers?
|
View Answer
|
|
How can I improve my Lisp programming style and coding efficiency?
|
View Answer
|
|
Lisp books, introductions, documentation, periodicals, journals, and conference proceedings.
|
View Answer
|
|
What is the difference between Scheme and Common Lisp?
|
View Answer
|
|
What is the purpose of this newsgroup?
|
View Answer
|
|
How complex can I get?
|
View Answer
|
|
What if I get interrupted?
|
View Answer
|
|
How do I tell LG3 what I what?
|
View Answer
|
|
What is the ouput like?
|
View Answer
|
|
Can I save my programs to files?
|
View Answer
|
|
Why use LISP?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Lisp Programming Interview Questions & Answers - Exam Mode /
Learning Mode
|