Embryo Library

These routines are used for Embryo.

\begin{DoxyDate}{Date}
2004 (created) 
\end{DoxyDate}
\begin{DoxyNote}{Note}
based on Compuphase (\href{http://www.compuphase.com}{\tt http\+://www.\+compuphase.\+com}) P\+A\+W\+N language.
\end{DoxyNote}
\hypertarget{eina_cxx_main_toc}{}\section{Table of Contents}\label{eina_cxx_main_toc}
\begin{DoxyItemize}
\item \hyperlink{embryo_main_embryo_main_intro}{Introduction} \item \hyperlink{embryo_main_embryo_main_compiling}{How to compile} \item \hyperlink{embryo_main_embryo_main_next_steps}{Next Steps}\end{DoxyItemize}
\hypertarget{embryo_main_embryo_main_intro}{}\section{Introduction}\label{embryo_main_embryo_main_intro}
Embryo is a tiny library designed to interpret limited Small programs compiled by the included compiler, {\ttfamily embryo\+\_\+cc}. It is mostly a cleaned up and smaller version of the original Small abstract machine. The compiler is mostly untouched.

Small was renamed to Pawn. For more information about the Pawn language, see   http://www.compuphase.com/pawn/pawn.htm  For the basics about the Small language, see \hyperlink{Small_Page}{Brief Introduction to Small}.\hypertarget{embryo_main_embryo_main_compiling}{}\section{How to compile}\label{embryo_main_embryo_main_compiling}
Embryo is a library your application links to. The procedure for this is very simple. You simply have to compile your application with the appropriate compiler flags that the {\ttfamily pkg-\/config} script outputs. For example\+:

Compiling C or C++ files into object files\+:

\begin{DoxyVerb}gcc -c -o main.o main.c `pkg-config --cflags embryo`
\end{DoxyVerb}


Linking object files into a binary executable\+:

\begin{DoxyVerb}gcc -o my_application main.o `pkg-config --libs embryo`
\end{DoxyVerb}


See \hyperlink{pkgconfig}{pkgconfig}\hypertarget{embryo_main_embryo_main_next_steps}{}\section{Next Steps}\label{embryo_main_embryo_main_next_steps}
After you understood what Embryo is and installed it in your system you should proceed understanding the programming interface.

Recommended reading\+:

\begin{DoxyItemize}
\item \hyperlink{group__Embryo__Program__Creation__Group}{Program Creation and Destruction Functions} to create Embryo from memory or file. \item \hyperlink{group__Embryo__Func__Group}{Function Functions} to expose functions to Embryo. \item \hyperlink{group__Embryo__Program__VM__Group}{Virtual Machine Functions} to push pop virtual machine. \item \hyperlink{group__Embryo__Run__Group}{Program Run Functions} to run it.\end{DoxyItemize}
