SPLASH Programming Language

This chapter describes the Streaming Platform LAnguage SHell (SPLASH), which is a scripting language supported by Sybase ESP that brings extensibility to CCL. It is used to define custom functions, custom operators in the form of Flex Operators, and is used to declare global and local variables and data structures.

The syntax of SPLASH is a combination of the expression language and a C-like syntax for blocks of statements. Just as in C, there are variable declarations within blocks, and statements for making assignments to variables, conditionals and looping. Other datatypes, beyond scalar types, are also available within SPLASH, including types for records, collections of records, and iterators over those records. Comments can appear as blocks of text inside /*-*/ pairs, or as line comments with //.