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 sol

How to run a Sol script?

sol 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

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

sol_interpreter-1.0.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

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

sol_interpreter-1.0.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file sol_interpreter-1.0.0.tar.gz.

File metadata

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

File hashes

Hashes for sol_interpreter-1.0.0.tar.gz
Algorithm Hash digest
SHA256 34bf26e7f1aeade640efa1fd52f887b0421fe06b01f65ae53ed26c724a6eef9b
MD5 02cb33d5de36646f4f9ec279f3066a8f
BLAKE2b-256 f46f425a2103071f2df1107672a58031fde5225703da80637186b399cedef5ef

See more details on using hashes here.

File details

Details for the file sol_interpreter-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sol_interpreter-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d2c623604390ce1ea1846239329886d85925eea92d0cea00879796dc08b979d
MD5 e4fce2c01c46b3e5950af937683d8bac
BLAKE2b-256 2b2ba569b48bd1768218fc8f4ec72907e57776fe36163758d87bddea2c7ecb9c

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