the LDPL programming language
Expressive, readable, portable, fast and easy to learn
Watch Star
Home
Repository
Documentation
Examples
People
Events
Libraries
Merchandise
Talks

r/ldpl
irc (#ldpl)
Telegram
Mailing List

LDPL Libraries

As most programming languages, LDPL leverages a number of first and third-party libraries. Nearly all of these libraries are released in the form of a .ldpl file or group of .ldpl files.

The process of installing an LDPL library is fairly straightforward: locate the library file (or the main library file, in case the library you want to import has multiple files) and import it to your LDPL source file by using the INCLUDE keyword. For example, if you have two files source.ldpl and lib.ldpl in a folder and you want to import source.ldpl into lib.ldpl, you should add the line INCLUDE "lib.ldpl" into source.ldpl before the DATA: and PROCEDURE: sections.

Library Including Example
# INCLUDE statements go before
# the DATA and PROCEDURE sections.
include "route/to/lib.ldpl"
data:
# ...
procedure:
# ...

First-party LDPL libraries are listed on this page. You may also find libraries on GitHub by searching "LDPL" in the search box. If you write an LDPL library and you'd like to have it listed here, please contact us.

The LDPL Standard Library

The LDPL Standard Library (STD) a is a compendium of useful statements not included in the vainilla language. The library is organized in a series of .ldpl files called briefcases, each containing new statements designed to extend the functionality of LDPL in particular areas, for example list handling or random number generation. You can download just the files you want and include them as stated earlier on this page.

The LDPL IRC Bot Library

The LDPL IRC Bot Library is a super easy to use IRC bot library for LDPL. It lets you write LDPL programs that connect to IRC servers, join channels, send messages and more in the simplest way possible.

The LDPL Telegram Bot Library

The LDPL Telegram Bot Library is a simple LDPL library lets you create a Telegram bot that can receive and send text messages. Installation instructions and documentation are included in the linked repository.

The LDPL Network Server Library

The LDPL Network Server Library is an library for creating socket based servers in LDPL. It aims to make it very easy to develop, test and deploy network servers, with as little work as possible.