electronic.alchemy :: Pike embedding 101
electronic.alchemy
where the past meets the future
start > 2006-01-04 > 1

Pike embedding 101

Created by hww3. Last updated by hww3, 19 years ago. Version #2.

Pike 7.7, currently in development, supports rudimentary embedding of the Pike interpreter in other applications. While this support is currently pretty basic from the standpoint of niceties (such as simple functions for calling code and so forth), it works and is ready for user comment.

I put together some simple code that creates an embedded interpreter and calls some code. You can check it out here: [external]http://hww3.riverweb.com/dist/pike_embedding . Note that you'll need a current check out of Pike 7.7 from CVS. To create the pike shared library, run "make lib" from the root directory. There are some basic compilation commands that you'll need to adjust according to your environment, but it should produce a working embedded interpreter.

Check it out, and feel free to mail your comments and suggestions to the pike development list (pike-devel at lists dot lysator dot liu dot se.

Posted in pike | RSS Feed | BackLinks

comments powered by Disqus