Skip to content
@PLangHQ

PLang

PLang - programming in natural language

Plang Programming Language

Plang Logo

Plang is a modern programming language written in natural language.

Join our community on Discord | Follow us on Twitter | Youtube channel

Introduction

Plang is a programming language written in natural language.

Plang is a new type of programming language that provides various features over other operation programming languages. It has built in Identity, built in database, built in messaging, solves syncing between device, and more.

Plang provides the developer with features that he already is familiar with such as variables, condition and for statements as well as powerfull standard library, and language is easily extendable.

Plang provides increased security and privacy to both developer and users of their application, for free as in beer.

Example of user registration

This is an example of how effienct it is to written in plang.

Following is executable code

CreateUser
- Make sure %password% and %email% is not empty
- Hash %password%, write to %hashedPassword%
- Insert into users, %hashedPassword%, %email%
- Post, create user in MailChimp
    Bearer %Settings.MailChimpApi%
    %email%
- Create bearer token from %email%, write to %bearer%
- Write %bearer% to web response

These 6 steps replace over 100+ lines of C#/Java/Typescript code, or if you do clean code programming, dozens of files

Tip

You do not create user in this way in Plang, it is much simpler. This example is only provided for familiarity.

Installation

Caution

Heads up: Building code costs money Each code line incurs usually between $0.01 - $0.07 fee via LLM. The payoff? Exceptional efficiency gains. You can choose to use Plang service(simpler) or OpenAI(cheaper). Using Plang service supports the project

Set up Plang on your system. Download Plang from the download page and follow our Installation Guide.

Getting Started

Explore plang's capabilities and start building today. For initial steps and guidance, see Getting Started with plang.

Usage

Explore plang's features and capabilities:

  • Basics for everybody
    • Development Environment (IDE): This is where you write your code. Makes sure to setup your development environment.
    • Rules: The basic rules to follow when writing plang code.
  • Basics for beginners
    • Variables: Learn about %variables% in plang and how to use them.
    • Conditions: Understanding if statements and conditional logic in plang.
    • Loops: Explore how to go through a list of data
    • Date & Time: How you work with %Now%, the date and time of the system
  • For everybody
    • Debugging: Learn how to debug when programming in the plang language
    • Examples: See list of plang code examples, it can help you get started
    • Apps: See list of available apps, written in plang. Great for learning.
  • Advanced
    • Identity: What is Identity and why is it so important
    • Private keys: What private keys are in the system and where are they stored.
    • Settings: How to store and use settings in your app such as API keys and other sensitive data.
    • Building your code: How does the builder take your intent and convert it to executable code.
    • Builder Lifecycle & Events: Sequence of operations when building plang and build events
    • Runtime Lifecycle: Sequence of operations when running plang
    • Runtime Events: Learn about event-driven programming in plang.
    • Performance: What is the perfomance of plang?
    • Modules: Learn how to extend the language. Discover the different modules available in plang and their capabilities.
    • Services: Learn how flexible the plang language is, e.g. using the db engine of your choice, your own caching service and more.
    • Use OpenAI API key or Local LLM: Shows how to use OpenAI API directly instead of PLang LLM service. Discusses status of local LLM
    • Supported LLM: List of supported LLMs
    • Reserved keywords: See list of reserved keywords in the language
  • Developing the plang language
    • Help create PLang: Information on how to help with development of plang programming language.
  • Examples of actual apps

Features

Plang comes with a wide range of features including:

Paper

You can read the "paper" I wrote while developing plang. It goes into detail about the language and thoughts.

Contributing

Join our community of contributors! Learn how you can contribute on GitHub.

Versioning

At version 0.1.

Authors and Acknowledgment

Special thanks to everyone who has developed an open source project that plang uses. ❤️

License

plang is available under LGPL version 2.1. Details are in our LICENSE.

Contact Information

Go to the discussion board, find us on Discord or follow us on Twitter or email plang@plang.is

Pinned

  1. plang plang Public

    The code repository from plang programming language

    C# 23 2

  2. modules modules Public

    Modules available for the plang programming language

    C#

  3. services services Public

    Services that can replace build in functionality of plang programming language

    C#

  4. apps apps Public

    Apps that available to plang programming language

    PowerShell 1 1

Repositories

Showing 7 of 7 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Most used topics

Loading…