Samples
Real-World Coral8 CCL Samples
The Coral8 Studio download contains many examples across a wide range of application domains:
- Financial Metrics (RSI, CCI, VWAP)
- Algorithmic Trading
- RFID Warehouse Flow
- Power Grid Maintenance
- Fraud Detection
- Process Tracking
- Clickstream Analysis
- Network Security
- And more...see the Guide To Examples manual, accessible from the Studio Help menu, for a description of all the examples.
These examples show how the Coral8 Engine can be used to solve some specific real-world problems. All of them came from Coral8 prospects and customers, but no customer data or intellectual property is revealed.
In addition, there are many examples illustrating the versatility and power of CCL in, perhaps, some unexpected ways.
XML Processing
Coral8 CCL contains native XML support based on the SQL/XML and XPath standards. In addition to the XML Cookbook, the following XML example is provided.
PalletCasesMapping
The PalletCasesMapping sample accepts a stream of RFID readings representing cases and pallets on a conveyor belt, and outputs XML nodes describing the contents of each pallet using a few of the native XML functions in CCL. View a brief Description here.
Video Games
In a surprising twist, create video games from days past using CCL. On Windows, simply go to
Start->Programs->Coral8->Studio->Games
and select your game of choice. For other operating systems, please see the readme file in the Studio Repository.
Asteroids
Pilot a space ship and blast through an asteriod belt.
Breakout
Break through the wall, just your paddle, you, and all those bouncing balls.
Mathematics
Here are a few forays into math that illustrate looping in Coral8.
Factorials
Compute factorials up to 20!, the limit for the long integer datatype.
Fibonacci
Calculate segments of the Fibonacci Sequence between a given lower and upper bound.
Pythagorean Triples
Search random 3-tuples for Pythagorean Triples where the coordinate values range from 1 to 10,000.
Automata
Finite State Machine
The Finite State Machine sample contains an implementation of a Deterministic Finite State Machine. View a brief Description here.
Universal Turing Machine
The Univeral Turing Machine sample implements the Universal Turing Machine, which demonstrates that CCL is Turing-complete and is suitable for solving arbitrarily complex problems. View a brief Description here.
