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.1.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.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: solpl-10.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 57cdbced88ef0b3a64d7cfbc5eb3a89eb3431642e71261c6fec7092f8fb2bbe5
MD5 a296cbb75d7f277944f2b824442a6b19
BLAKE2b-256 809aa441a76b18846067cff66ff5ec6833bb1a523341cf4b91734458a4df2428

See more details on using hashes here.

File details

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

File metadata

  • Download URL: solpl-10.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e19621cb598ecae95fee78175ed25d8a7ae0545011344cd4fc77852b22f15b28
MD5 b74f252b99e34df2d02f2032be3d36aa
BLAKE2b-256 14201b350ef5c402ed515f0af62e823ac36edf9466f31190ff0834d6eb3de719

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

This release

10.0.1 This release

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