Skip to main content

Sol

LOGO python status License Language

Sol is an interpreted language with minimal functional paradigms built with Python, originally designed to handle async operations only, but has expanded to a full scripting language.

Why did I build Sol?

I originaly needed something fast, that handled async natively, and which had very few keywords. Then came my first prototype, which only supported async functions. Sol now supports everything a programming language should need: Functions, variables, I/O, etc.

What advantages does Sol have over other languages?

  • Native async, with no external libraries

  • Native networking, also with no external libraries

  • With very few keywords, it is the language with the least keywords

  • Easy to use standard libraries

  • Simple syntax, which goes a long way for automation, web scraping, scripting, math, etc.

Capabilities:

  • Native asynchronous functions

  • Native non-blocking IO

  • Native networking library

  • Support for structs

  • Some functional paradigms, bound by the pipe operator ">>", used for channeling async, async into I/O, etc.

  • A large collection of standard libraries (including standard web libraries)

How to install Sol?

pip install solpl

How to run a Sol script?

solpl FILENAME.sol

Example:

This demonstrates Sol's capabilities with async:

countDown(taskName, maxCount)
    for i -> 1 to maxCount
        _out -> taskName
    end
end

main()
    _out -> 111
    countDown(777, 4) >> _async
    countDown(999, 4) >> _async
    _out -> 222
end

[!IMPORTANT] Asynchronous functions cannot use the _return method to return a value. Please use _out instead.

[!TIP] Make use of the standard libraries for extra data types, such as Booleans, HashMaps etc.

License

This repository is licensed with Apache License 2.0, see the LICENSE file for more details

Link to PyPi package:

https://pypi.org/project/solpl/

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

solpl-10.0.2.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

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

solpl-10.0.2-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file solpl-10.0.2.tar.gz.

File metadata

  • Download URL: solpl-10.0.2.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for solpl-10.0.2.tar.gz
Algorithm Hash digest
SHA256 2cc81a33b25d85e7863afdbd6d0541a48d9f451c48d6f7fd6a7e9ba22cb88bbe
MD5 7ca6af22bcfa9bd2d6211113104d748f
BLAKE2b-256 b37d4e7a5d77244b8e7eec4d1fa6517b34a368705c69f922bbd06755256f1fc5

See more details on using hashes here.

File details

Details for the file solpl-10.0.2-py3-none-any.whl.

File metadata

  • Download URL: solpl-10.0.2-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for solpl-10.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 072712c692a5991e3a305bfae8b6041922663eadbe5ca47e5333e2b7b52fa9b8
MD5 5165c3d8abdfe9100f14d32ea54185c3
BLAKE2b-256 dcb0997e7ceab37184796ebbc4fe443e5e2ca7ce78cf11948558d7c0d9d63d74

See more details on using hashes here.

Release history Release notifications | RSS feed

10.1.0

2 files

10.0.3

2 files

This release

10.0.2 This release

2 files

10.0.1

2 files

10.0.0

2 files

4.0.6

2 files

4.0.5

2 files

4.0.1

2 files

4.0.0

2 files

3.0.0

2 files

2.7.0

2 files

2.6.6

2 files

2.6.5

2 files

2.6.0

2 files

2.5.8

2 files

2.5.7

2 files

2.5.6

2 files

2.5.5

2 files

2.5.1

2 files

2.5.0

2 files

2.4.5

2 files

2.4.1

2 files

2.4.0

2 files

2.3.7

2 files

2.3.6

2 files

2.3.5

2 files

2.3.0

2 files

2.2.5

2 files

2.2.0

2 files

2.1.0

2 files

2.0.0

2 files

1.0.8

2 files

1.0.7

2 files

1.0.6

2 files

1.0.5

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page