Skip to main content

My simple and easy programming language

Project description

#----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.0.9.tar.gz (4.4 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.0.9-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lpibydevcoder-0.0.9.tar.gz
Algorithm Hash digest
SHA256 8213899126f22d3e097def0462fbdbeb3a93121aa98101972f05ea305731f9e3
MD5 5001cd1d1d8bb8ea944661014d9d3b6c
BLAKE2b-256 11858e91b6bbbfde49e573a0b746ac277ef190e84b98d7fe561f255f1a10b97b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lpibydevcoder-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 5.1 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.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5999702460d8ae233d1ba57ff14de31a109ec6707318691e1e8f065a08d85e4f
MD5 cd6a53fd1ae38b233e6c31427421591c
BLAKE2b-256 0dcd6eb812555408964ba4d15b5e9dd522578bdd351e02f129ed065cbcf8bbf2

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