Get LDPL   Contribute

The LDPL Programming Language

Expressive, readable, portable, fast and easy to learn
Watch Star
About   PHILOSOPHY   Libraries   Examples   News   Repository   Documentation

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, a group of .ldpl files or a group of .ldpl and C++ 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 lib.ldpl into source.ldpl, you should add the line include "lib.ldpl" into source.ldpl before the data and procedure sections.

This is explained in greater detail in the LDPL Documentation.

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 have written an LDPL library and you'd like to have it listed here, please contact us.

LDPL Package Manager (LPM)

Starting from version 4.3, LDPL includes the LDPL Package Manager (LPM). When you install LDPL from source you also install LPM. If you download a pre-compiled binary, LPM is included in the same package. With LPM, downloading and using libraries (we also call them packages) is now easier than ever:

Once you've installed a library, you can include it to your project by just adding the line

using package <library_name>
# for example: using package std-math

before the DATA and PROCEDURE sections of your source file.

Official LDPL Libraries

The LDPL Standard Library

The LDPL Standard Library (STD) a collection of LDPL libraries that contain many useful pre-written statements for the LDPL Programming Language that are not included in the base language. he library is organized in a series of .ldpl files lovingly called briefcases (this is a very serious language, you know, we have ties) each containing new statements designed to extend the functionality of LDPL in many areas, for example list handling or random number generation.

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.

Projects   People   Talks   r/ldpl   irc (#ldpl)   Telegram   Mailing List
"The LDPL Programming Language is a non-profit project mantained by people like you from all over the world. If you like what we do, please consider contributing to the LDPL project or supporting it."