Introduction to developing for Synapse X
Welcome to Synapse X! This development tutorial will give you an introduction to scripting for Synapse X - including the core concepts of the Synapse X enviornment, supervisor based programming, method interception, defensive programming, the Synapse X security model, and ultimately to get you to develop your own scripts for the platform.
Before we dive in, its important to lay some ground rules and assumptions that this guide takes:
- This set of guides assumes you are already proficient in Lua scripting (and programming in general). If this is your first time scripting in Lua, we recommend you look at the Lua 5.1 manual and get a feel for the language beforehand. While many people have learned programming via Synapse X, there is advanced concepts covered in this guide that may not make sense without a background in computer science.
- This guide attempts to avoid easily 'copy-pastable' scripts - instead, we focus on short examples in order to teach concepts. It is far more important for you to know the core concepts behind Synapse X scripting instead of simply copy-pasting example code. Trust us - it will save you a lot of time in the future if you choose to continue scripting for Synapse X.
- Many concepts covered here will be advanced, as stated earlier. Whenever we cover such concepts, we will attempt to give background for people without prior knowledge of the concept.
That out of the way, lets jump right in with the Synapse X environment!