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.2.tar.gz (4.6 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.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lpibydevcoder-0.1.2.tar.gz
  • Upload date:
  • Size: 4.6 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.2.tar.gz
Algorithm Hash digest
SHA256 f2e8373179b02978f89808f319a5bdaf835fad89613e04dbc1775eb92b71efbd
MD5 7a9cb5a5a5c46dd198a160d1b7a22a8e
BLAKE2b-256 0fb6c4886d2f2577d24d21816e69e540898ed4380d6815daba50b970024eb7a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lpibydevcoder-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6eea476c798aca26bdba2d34901510f7a13fbf28eb5af631373b22c37ee7eac7
MD5 808133522bde20a696cac1ca0b7e6308
BLAKE2b-256 bc3ac4e0d881ee1ccea3f4a419d19481f7ee1f7d1ee25d734fc0bb54da0a59b2

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