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

Uploaded Source

Built Distribution

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

solpl-1.0.8-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for solpl-1.0.8.tar.gz
Algorithm Hash digest
SHA256 8469ee83d5c325224a1b06e8cf62eba3e1a3d298693974c9dbe4b974f58fb811
MD5 94971812fa05c59635c18fb20ae46685
BLAKE2b-256 77b9b14ac2e6471305ced2349fa7463d3a59ca64e176d92694c02604e4d325ad

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for solpl-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c241c0cac00e735846cffed2331da3e4e7f312effbbea8a12bf038ff8d36a09f
MD5 03e4edd6dc814ed74c51ed4c7b97fd10
BLAKE2b-256 edbe66ce86320cf524346aa430faf86c240c6e97a6c95030d89cd95da1e962ac

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