Embryo Library Documentation
Embryo LibraryThese routines are used for Embryo.

- Version:
- 1.7.0
- Date:
- 2004-2012
What is Embryo?
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 Pawn For the basics about the Small language, see Brief Introduction to Small.
How to Use Embryo?
To use Embryo in your code, you need to do at least the following:
- Include Embryo.h.
- Load the Embryo program using one of the Program Creation and Destruction Functions.
- Set up the native calls with embryo_program_native_call_add.
- Create a virtual machine with embryo_program_vm_push.
- Then run the program with embryo_program_run.
- Todo:
Clean up compiler code.
Proper overview of the operation of the interpreter, that is how the heap, stack, virtual machines, etc fit together.