Click or drag to resize

GettingStarted

[This is preliminary documentation and is subject to change.]

MonkeyspeakEngine parses a Monkeyspeak script and returns a Page Page handles the TriggerHandlers added TriggerHandler delegates that are assigned to Triggers and Executed by Page(s) Trigger similar to "functions", are used to store information used in the execution of a TriggerHandler

Definitions

This section contains the following subsections:

MonkeyspeakEngine parses a Monkeyspeak script and returns a Page

Page handles the TriggerHandlers added

TriggerHandler delegates that are assigned to Triggers and Executed by Page(s)

Trigger similar to "functions", are used to store information used in the execution of a TriggerHandler

Getting Started

Start your engines! Or just ONE engine is all you need. But you could have more if you wanted.

Everything starts with the MonkeyspeakEngine object. Lets get started and make one.

C#
Monkeyspeak.MonkeyspeakEngine engine = new Monkeyspeak.MonkeyspeakEngine();

What we are doing here is creating a MonkeyspeakEngine instance and that is all.

MonkeyspeakEngine has Options that let you configure some of the symbols in the language itself!

For example if I wanted to make all Strings start and end with " and " instead of the Default { and }

C#
engine.Options.StringBegin = '\"';
engine.Options.StringEnd = '\"';

Or I wanted to make the variable declaration symbol % become &

C#
engine.Options.VariableSymbol = '&';
See Also