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.1.1.tar.gz (4.5 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.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lpibydevcoder-0.1.1.tar.gz
  • Upload date:
  • Size: 4.5 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.1.tar.gz
Algorithm Hash digest
SHA256 48de871ab174ab35b8a2091e25a410f04e80e23134350324ff1a4b04db329ec0
MD5 63500b4dd95e311ab418b80dba9f2b35
BLAKE2b-256 d4a53a70d0e21e649dd99fcaeb540755666972810718a36f0db1448b704562d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lpibydevcoder-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ad64e729cd90f857d5f3a29acfed541525194a56f8db105b5efe9c6ebb2b0a1
MD5 8a4c3477276a0e17adb368c47d5670c4
BLAKE2b-256 33a1e094140bdd2993cf70d0b54db6d84d1f2a781b897cd1b871836a2437aa52

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