Ppl Poker Programming Language

Posted on

Since version 7.0 OpenHoldem provides an alternative way to program the bot-logic: OpenPPL. PPL means: Poker Programming Language, an english-like programming languge once designed by Shanky BonusBots. OpenPPL is completely integrated and can be mixed with OH-script if desired. Support for PPL (Poker Programming Language). Learn to code and help us improve the language. Moderator: sngbot: 1358: 8821: November 01, 2020, 11:50:03 PM.

Language

Ppl Poker Programming Languages

The Bot Logic (OpenPPL)

Since version 7.0 OpenHoldem provides an alternative way to program the bot-logic: OpenPPL. PPL means: Poker Programming Language, an english-like programming languge once designed by Shanky BonusBots. OpenPPL is completely integrated and can be mixed with OH-script if desired. Once a non-empty f$preflop function is present OpenHoldem will switch to OpenPPL-mode and evaluate f$preflop, f$flop, f$turn and f$river instead of the OH-script autoplayer-functions.
Programming
To support an easy start we wrote a separate OpenPPL-manual that is included in every download of OpenHoldem.
Language

Ppl Poker Programming Language Basics

Default Bot

An OpenPPL-bot might be “incomplete”. The end of a code-section might be reached without a matching action being found, then the default.bot will take over. We will talk about this default-bot in one of the next chapters briefly; all the details are in an extra handbook, the OpenPPL-manual.

Ppl Poker Programming Language Software

Language

1. Object Oriented framework
2. Temporary object creation and method calling (ex: PDialog('Hello World!').Message)
3. Syntax borrows the best from commonly used languages like C, C#, Pascal and BASIC, so it's easy for all levels of developer to understand
4. Implements advanced constructs like Arrays, Linked Lists and Matrixes
5. 100% compatible with PPL v1.x procedural's syntax
6. Regular expressions


PIDE (Integrated Development Environment)

1. Design your application visually using our new visual coding technology
2. Inter-platform development - design the application on Windows and run it, without any modifications, on Windows Mobile
3. Use our high-level source code editor, with code completion, syntax highlighting and code templates to greatly simplify your programming. Spend less time finding what is required to accomplish a task and get the results faster.


PCL (PPL Control Library)

1. All standard Microsoft controls are bundled in easy to use object oriented libraries
2. Easily create your own controls using PCL (PPL Control Library) which provides an excellent framework to develop your applications.
3. Package your components, help files and project templates in an easy to distribute format.
4. Download and purchase components or component packages from our PPL Store.
5. Easily install new components at the click of a button.


Advanced Game Engine (Swirl)

1. WYSIWYG game level editing - design your game levels visually
2. Object-Oriented framework
3. 2D graphics support
1. Drawing primitives (lines, boxes, circles)
2. Image loading and manipulation (.BMP, .JPG, .PNG)
3. Extensive support for sprites
4. Isometric viewpoint support
4. Particle engine
5. Physics engine
6. Sound engine


3rd Party Support

1. Access dynamic loadable library (DLL) functions (supports cdecl and stdcall dll calls).
2. Access ActiveX/COM objects controls


Business Support

1. SQLite v2 and v3 support (read here http://blog.gobansaor.com/2009/03/14/sqlite-as-the-mp3-of-data why we chose SQLite)
2. Regular Expression functions
3. Visual data grid and data controls
4. Orion database engine
5. Secure SSL encryption package


Find Anything, Anywhere

Find text anywhere in your projects (including: objects, properties, events, ...) or anywhere in files on disk recursively. Double-click on the result lines to be transported directly to the line of code or to the object, property or event.


Visual Design

Design windows layout visually in realtime. The design is a 100% accurate representation of the runtime version of your application. Edit properties and events using the Properties editor and events editor.


Universal Help Engine

Providing help for the components you design has never been easier. PPL 2 comes fully loaded with an incredibly easy-to-use help editor and help viewer. Never worry about the layout of your help documents anymore, PPL takes care of it for you. The help engine, allows for fast searching and a uniform layout for all the help topics. The help engine also supports classes, properties, methods and events. It will create links to inherited classes, create topics for properties, methods and events. Get the profesionnal help files without the work load.


Create Project Templates

Create project templates to make the creation of future projects easy. Include the templates in your component packages so that the users can start creating projects with your components in minutes.The code editor also comes with a powerful code template programming engine to drastically reduced your coding time. Select the template you want to accomplish a specific task and using the Ctrl+Tab key combination you can easily fill in the blanks.


Distribute Your Components And Make Money

With the PPL Store, it is now easy to find and sell your PPL components in a centralized location. The PPL Store is designed specifically for our customers needs.



Powerful Tag Search

Have you ever waste valuable minutes trying to remember what was the name of that function that does what you were looking for but were not able to find it? This is a situation from the past now, PPL 2, offers a powerful tag search engine, that accept english like search text and finds all functions, properties, methods, events, etc... that are related to that text. For example, if you are looking for a way to display some text in a dialog box on the screen, simply type: 'display some text', you will get a list of all functions that relates to displaying text. That easy!