Skip to main content

A lightweight, multi-threaded interpreter for the Sol programming language.

Project description

Sol

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

Why did I build Sol?

I 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.

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

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/

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

solpl-2.0.0.tar.gz (9.5 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.0.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for solpl-2.0.0.tar.gz
Algorithm Hash digest
SHA256 68a8802a09d7af81f5d1cdd705cc55531a8481797fe57f3dcc9520f06c089af7
MD5 145ae62441340db9fd55fda27eece6c0
BLAKE2b-256 936a621ed2ca21dba02759e6c4636443ae3240f042d124bddfb6f3558cdb77f0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for solpl-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de8864c33869df0f57f97f1e97cf1e39e5369f097cf22e3b89feffaa33c0133d
MD5 4f8b4aaa66b0f90d46f9b5999bdf6ca9
BLAKE2b-256 0c3c830151d12bdd8c29e9e4666c20c8dec4ddea37134b47a6d73c45f6a828c8

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