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.4.tar.gz (5.0 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.4-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lpibydevcoder-0.1.4.tar.gz
  • Upload date:
  • Size: 5.0 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.4.tar.gz
Algorithm Hash digest
SHA256 b295fad9187e1b21bcdf32a090e171ad27704a57d4322eb56b3cacac26cafb9f
MD5 2d3e44b047d82a8cd7fee7288b191a86
BLAKE2b-256 4c24488e1849be03a8e539d2fd86b32fc2e6b0b1dd1b053d8de3da51d7de439d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lpibydevcoder-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 07d6c7f8f91af4a696b4ce928da25fa26dcea94068161726542ff950468117cf
MD5 df0968fb9d9e6f4ecb90fd9a72dd2144
BLAKE2b-256 6e0a8a36057ff04d81892082f16b850b3eca3770fb55d1c8a132b612bb99d414

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