Skip to main content

UF Language Engine with 4 modes (UF, iUF, nUF, dnUF)

Project description

Overview

UF Language is a Python-based language engine designed to provide different levels of user-friendliness:

  • UF – Fully user-friendly, beginner-friendly syntax
  • iUF – Intermediate user-friendly mode
  • nUF – Not user-friendly, closer to normal Python
  • dnUF – Developer-focused mode, advanced features

It is ideal for teaching, experimenting with custom languages, or creating scripts in a simplified syntax.

Installation

pip install uf-language

Commands - UF

hi -> prints hello world hip -> prints hi hih {text} -> prints your text hid {text} {number} -> repeat text set {name} {value} -> assign variable get {name} -> get variable value add {a} {b} -> addition sub {a} {b} -> subtraction mul {a} {b} -> multiplication div {a} {b} -> division rand {min} {max} -> random number time -> current time sleep {seconds} -> pause execution upper {text} -> uppercase lower {text} -> lowercase len {text} -> length of text rev {text} -> reverse text clear -> clear screen rndchar -> random letter sqrt {number} -> square root pow {a} {b} -> exponentiation round {number} -> round number repeatf {times} {text} -> repeat text exit -> quit REPL

Commands - iUF

print {text} repeat {number} {text} set {name} {value} get {name} add/sub/mul/div {a} {b} len {text} clear upper {text} lower {text} rand {min} {max} time rev {text} sleep {seconds} rndchar sqrt {number} pow {a} {b} round {number} repeatf {times} {text}

Commands - nUF

var x = value show calc {expression} echo {text}

{text} sqrt {number} pow {base} {exp} round {number} len {text} repeatf {times} {text} upper {text} lower {text} rev {text} rand {min} {max} time sleep {seconds} sys {command} exec {python_code} rndchar

Commands - dnUF

let x = value vars echo {text} (supports $variables) calc {expression} if {condition} then {command} sleep {seconds} sys {command} exec {python_code} len {text} read {filename} upper {text} lower {text} rev {text} rand {min} {max} time rndchar

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

uf_language-1.3.1b0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uf_language-1.3.1b0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file uf_language-1.3.1b0.tar.gz.

File metadata

  • Download URL: uf_language-1.3.1b0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for uf_language-1.3.1b0.tar.gz
Algorithm Hash digest
SHA256 f670c0d7cfa5489059073d3643bc3b161501c32015288c8c9937e8d31be64ca6
MD5 33d7f2edf07985c78598ca8bdd450fb6
BLAKE2b-256 ca43a7947a4ab66025b606dd1bca7c8aedce8d5e45b14882bc0feab6f50d40f9

See more details on using hashes here.

File details

Details for the file uf_language-1.3.1b0-py3-none-any.whl.

File metadata

  • Download URL: uf_language-1.3.1b0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for uf_language-1.3.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 867bc5bba6934becad0dcdfacaaef28b91a65a5d0027a96e378fa720e3b5289c
MD5 ae88c10a2be66f986df9ab99746753d0
BLAKE2b-256 6087897031da5696434ad6cfb672452c43cd8f85f8b8b76253ce6cd8f1b3f9f5

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