You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Benjamin Rosseaux edited this page Jul 2, 2016
·
5 revisions
Introduction
POCA is a yet another scripting language, which's still in the in-progress phase, i.e. the syntax and the builtin standard library objects aren't finalized yet.
This wiki shows the features of POCA. POCA is a very powerful scripting language, which uses some of the concepts of ECMAScript, Lua, Squirrel, Wren, Nasal, Ruby, Python and Perl. POCA supports Object Oriented Programming (OOP) in two flavours (prototype-based and class-based) but also functional programming and procedural programming.
In POCA is everything a expression, there are no statements. i.e. something like var a = block { var b = 1; for(reg c = 0; c < 16; c++){ b += c + c}; b; }; and var a = if(b < 1){1}else if(b < 4){2}else{3}; are valid POCA codes.
People familiar with other programming languages, and scripting languages like JavaScript/ECMAScript in particular, are usually able to learn POCA rather quickly.