embryo_main(3)

NAME
embryo_main - Embryo Embryo Library

These routines are used for Embryo.

Date
    2004 (created)

Note
    based on Compuphase (http://www.compuphase.com) PAWN language.

Table of Contents

•   Introduction
•   How to compile
•   Next Steps

Introduction
Embryo is a tiny library designed to interpret limited Small programs compiled by the included compiler, 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 For the basics about the Small language, see Brief Introduction to Small.

How to compile
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 pkg-config script outputs. For example:
Compiling C or C++ files into object files:
gcc -c -o main.o main.c `pkg-config --cflags embryo`
Linking object files into a binary executable:
gcc -o my_application main.o `pkg-config --libs embryo`
See pkgconfig

Next Steps
After you understood what Embryo is and installed it in your system you should proceed understanding the programming interface.
Recommended reading:
•   Program Creation and Destruction Functions to create Embryo from memory or file.
•   Function Functions to expose functions to Embryo.
•   Virtual Machine Functions to push pop virtual machine.
•   Program Run Functions to run it.