Skip to content

Instantly share code, notes, and snippets.

View marioizquierdo's full-sized avatar

Mario Izquierdo marioizquierdo

View GitHub Profile
@marioizquierdo
marioizquierdo / vaderscript_introduction.md
Last active June 7, 2016 03:27
VaderScript syntax introduction

VaderScript

Is a dynamic scripting language that compiles into JavaScript and is fully compatible with it. JSON is also a subset of VaderScript.

VaderScript builds on top of the dynamism of JavaScript, enhancing its functional nature. Just like JavaScript at it's core, the primitives of the language are simple and powerful, but VaderScript keeps the consistency on every level, avoiding surprises and unexpected behavior whenever possible.

The big difference is that VaderScript is more strict. Undefined access and invalid types will throw errors, unless explicitly allowed. This way, rebel properties are shut down before they have the chance to cause any trouble.