Skip to main content

My simple and easy programming language

Project description

LpibyDevCooder

#----Autor-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------# The developer of this language (library, because it's still in this form), the developer is DevCooder, and I also have a github - https://github.com/ZeroMurder, where there are some interesting projects for those who are interested. I created this language for learning. I want to perfect this language and add not only built-in functions like print and input, but also some cool functions for speed and some functions for developers who want to write long code but with understanding and logic functions. #--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------# LpibyDevCooder LpibyDevCooder is a simple interpreted Python programming language designed for learning and experimenting with language technologies. The project implements a basic lexical and syntactic analyzer (parser), an interpreter, and a small set of built-in functions. #--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------# Main Features Arithmetic operations: addition and subtraction of numbers. #--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------# Structure and components Lexer (tokenizer): splits the source code into lexemes (tokens). #---------------------------------------------------------------------------------------------------------------------------------------------------------------------- #--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------# Example of code and usage: python pr(3 + 5 - 2) # Output: 6 user_input = ind() # Input from the keyboard pr(user_input) # Output of the entered value st(1) # Displays a message about connecting the style pr(sr(456 + 8)) # Displays '464' as a string Project goals lpi serves as a learning platform for understanding the fundamental concepts of programming languages, their parsing, interpretation, and extension of functionality. The project is designed for gradual development: adding variables, managing streams, supporting graphical interfaces, and more.

#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------# Instructions for working with the lpibydevcoder programming language #-----------------------------#

Introduction lpibydevcoder is a minimalistic programming language for working with basic calculations, input/output, and simple functions. It works as an interpreted language on top of Python, where the source code is parsed and executed through the lexer, parser, and interpreter modules. #-----------------------------#

Basic features of the language

  • Arithmetic operations: +, -, *, /
  • Input from the keyboard: ind() function
  • Output to the screen: pr() function
  • Conversion to a string: sr()
  • String literals in double quotes "text"
  • Error handling: ! (TRY_FUNC) operator
  • Connecting styles: st()
  • Defining functions (limited support)
  • Variables and assignment using the = operator
  • Parentheses for grouping expressions #-----------------------------#

How to write and execute code Example of assignment and working with variables

x = 10 y = 20 pr(x + y) # Expected output: 30

#------------------------------#

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lpibydevcoder-0.1.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lpibydevcoder-0.1.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file lpibydevcoder-0.1.3.tar.gz.

File metadata

  • Download URL: lpibydevcoder-0.1.3.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for lpibydevcoder-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ba5fb7260d382ca830a809d83156c29cc2cc86d3025217d057aa347806128cee
MD5 f6e25ff99a609b2515e335f25667e4c3
BLAKE2b-256 65006599a4fb2f29295b6b8396b4fc3db0196ab94f97a0cd8c20d86a17bef33c

See more details on using hashes here.

File details

Details for the file lpibydevcoder-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: lpibydevcoder-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for lpibydevcoder-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 815c25fd4aab441b819e7711f3dfaa08b79dbb115b5abf82d93ee3cedd590019
MD5 05ae1a540fbe01600ca47d5923261c26
BLAKE2b-256 33bae3aa3e0ad8c95e76c90c4f374cb7cc8928ab08e51b605b869ef9772fe174

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page