Get LDPL   Contribute

The LDPL Programming Language

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

What is LDPL?

LDPL is a powerful, C++ transpiled, open-source programming language designed from the ground up to be excessively expressive, readable, fast and easy to learn. It mimics plain English, in the likeness of older programming languages like COBOL, with the desire that it can be understood by anybody. It's very portable and runs on a plethora of different architectures and operating systems including AMD-64 Linux and macOS, ARMv8 Linux, Android and both Intel and PowerPC OS X (tested from Tiger 10.4 onwards). It even supports UTF-8 out of the box.

LDPL Hello World
# Let the user enter their name and greet them in Chinese:

DATA:
  name is text

PROCEDURE:
  display "What's your name?" crlf
  accept name
  display "你好, " name "!" crlf
  # Outputs "你好, <name>!"

Instructions are available on how to download and install LDPL. There are also instructions on how to use the LDPL compiler here and in the documentation.

A number of editors including Visual Studio Code, Vim, Atom and Nano have LDPL highlighting and formatting extensions avaiable for them. Read more here.

What can LDPL be used for?

LDPL can be used to write software just like any other language you know. You can open, edit and save files, do math, parse and modify text, etc. Some of these tasks are made easier by the fact that LDPL natively knows how to work with UTF-8 strings. By using the available libraries, LDPL becomes a language specially well suited for writing Telegram Bots, IRC Bots and Simple Network Servers. Code written in LDPL is easy to read, runs fast and can easily interface with C++ code, so you can do anything you want, really.

Merchandise

Due to popular request, LDPL merchandise is available! We've paired with TeePublic to bring you everything from shirts, to mousepads, to coffee mugs. All money made from selling these goodies goes to funding the language, paying for the server that keeps this website online, etc.

Special Thanks

We would like to thank JetBrains for kindly granting a number of All Products Pack Open Source Licenses to the LDPL project.
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."