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-2.7.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

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

solpl-2.7.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for solpl-2.7.0.tar.gz
Algorithm Hash digest
SHA256 3adb0e30aac3942ba8c675493a54c6f2ba0f7489762d97110619f3b605fd76d6
MD5 d69e29da33ac7078a3c2576d817e57b9
BLAKE2b-256 9fcd7a8cac9441b288e1914ac64688a9eba7316105f2ebf00b7b84612d393efd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for solpl-2.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bbd5d720db4828553f86b01f988070b2e62eee3edbe66250bc0614b5f95b13c9
MD5 504d53f25c1d07b9e95e35f3cdc0756b
BLAKE2b-256 c921579cd068a1665360b602d59d27079fe767c1c612443f52614d35963af932

See more details on using hashes here.

Release history Release notifications | RSS feed

10.1.0

2 files

10.0.3

2 files

10.0.2

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

This release

2.7.0 This release

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