The LDPL Programming Language

get LDPL | fork LDPL | reference | merchandise | r/ldpl

About the LDPL programming language

LDPL is a very simple (but powerful) open-source programming language designed from the ground up to be excessively expressive, readable, fast and easy to learn. It is mostly written in a series of statements that mimics plain English, in the likeness of [the good parts of] older 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 Windows, ARMv8 Linux, Android and both Intel and PowerPC Mac OS X (tested from Tiger 10.4 onwards).

It even supports UTF-8 out of the box.

Features

❧ High-performance language
❧ Easy to read, learn and understand
❧ Supports UTF-8 out of the box
❧ Compiles to C++, it's fast!
❧ Produces dependency-free binaries
❧ Runs on Windows, macOS, Linux, and more

Editors

A Visual Studio Code extension by ʇʞʌp is available for LDPL.
A Vim plugin developed by Araml is available for LDPL.
A Atom package developed by Damián Garro is available for LDPL.

Take a peek at LDPL

data:
  name is text     # Your name goes here!

procedure:
  display "Hello World" crlf "What's your name? "
  accept name
  display "你好, " name "! Welcome to LDPL!" crlf

Hungry for more? Check these examples:

helloworld.ldpl, a program that prints hello world
disancount.ldpl, counts down to 0 printing only the even numbers
quine.ldpl, a quine program
euler.ldpl, prints the sum of all the multiples of 3 or 5 below 1000
fibonacci.ldpl, prints a fibonacci sequence
explode.ldpl, splits a string using a delimiter
sqrt.ldpl, babylonian method square root calculator
99bottles.ldpl, sings 99 bottles of beer
factorial.ldpl, factorial calculator program
brainfuck.ldpl, brainfuck interpreter program

Join the LDPL Community!

If use Reddit, join us at r/ldpl to talk about LDPL, make friends and have fun! We are chatting on IRC. The server is irc.freenode.net channel #ldpl. Also on Telegram via the @ldpllang group.

You are welcome to open new LDPL channels anywhere else if you like.

Contributing

If you'd like to add a feature to LDPL, document it, fork it (or whatever), check the source code at GitHub. Pull requests, bug reports and feedback are really more than welcome!

Community Projects

GILD, gopher clientby ʇʞʌp
LDPLNOISE, LDPL port of Linenoise by ʇʞʌp
LDPL Space Mines, a management game by Carbontwelve
Spark, ▁▂▃▅▂▇ in your shell, ported by Carbontwelve
Ambulisp, a Lisp interpreter by Ambulancja

If you've made something with LDPL contact us or post it on r/ldpl and we'll add it to this list (also, if you upload it to GitHub, be sure to tag it with the 'ldpl' topic)!

Merchandise

Due to popular request we've paired with Teepublic to bring you LDPL shirts, mugs, stickers and more. All the money we receive from these sales goes towards the development of the language. Click here to check what we have on sale!

Contact

Feel free to contact me at mdelrio (at) dc.uba.ar or via Telegram to @lartu or via the community.

Contributing

LDPL is distributed under the GNU General Public License 3.0. The LDPL Dragon logo (and every other LDPL release logo) is released under a Creative Commons Attribution 4.0 International (CC BY 4.0) license.

The LDPL Programming Language and the LDPL Dragon were created by Martín del Río,
with amazing contributions from ʇʞʌp and a bunch of other wonderful contributors, 2018 - 2019.