Skip to main content

Python code analyzer.

Project description

Python Bot EXpression (PyBEX)

A simple Interpreted Dynamic Programming Language for describing chat bot commands and behavior.

Language Elements

String

"Hello, World"

'single or double - doesn\'t matter'

"""multiline
ones"""

'''are
supported'''

Number

# integers
69
420
1_000_000  # 1000000

# and floats
3.1415
5e-10

Variable

args
sender
_underscore

Funcalls

f()
f(g())
f(69, 420, 3.1415)
f("can take in any other element")

Interactive mode

bex> say(99,
 ... "bottles of beer",
 ... "on the wall.")
99 bottles of beer on the wall.
bex> if(1, "pi", 3.1415)
'pi'

Inspiration for the project

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

pybex-0.0.1.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

pybex-0.0.1-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

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