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

Hi there! Welcome to the LDPL Programming Language website.

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>!"
LDPL Disan Count
# Let the user enter a number and then print all even numbers from that
# number down to 0.

DATA:
  disanMax is number
  i is number
  mod is number

PROCEDURE:
  display "Enter a number: "
  accept disanMax
  for i from disanMax to 0 step -1 do
    modulo i by 2 in mod
    if mod is equal to 0 then
      display i " is even !" crlf
    end if
  repeat

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.


There's also LDPL merchandise available, due to popular request! 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.



We would like to thank JetBrains for granting All Products Pack Open Source Licenses to the LDPL project.

The LDPL Programming Language and the LDPL Dinosaurs were created by Martín del Río, with amazing contributions from dvkt, Damián Garro, fireasembler and a bunch of other wonderful contributors, 2018 - 2019.