Skip to main content

Gear is a multi-target lalnguage and compiler with inline compilation instructions.

Project description

Gear

Gear is a logic based compiler for the Gear language.

Installation

pip install gearlang

Development

First, make sure you have poetry installed and then build the project using the following command:

pip install poetry

Don't forget to add your Python installation's Scripts directory to your PATH if you haven't already. Here is a guide on how to do it.

Then, you can build the project using:

make dev

You can then interact with the CLI using the following command:

poetry run gear <args>

To update pyproject.toml after adding a new dependency, use the following command:

poetry lock

Compiling Grammar

./scripts/compile-antlr.bat

Troubleshooting

If the CLI is not working, make sure that the Scripts directory of your Python installation is in your PATH. Here is a guide on how to do it.


License - MIT

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

gearlang-0.0.17.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

gearlang-0.0.17-py3-none-any.whl (2.7 MB view details)

Uploaded Python 3

File details

Details for the file gearlang-0.0.17.tar.gz.

File metadata

  • Download URL: gearlang-0.0.17.tar.gz
  • Upload date:
  • Size: 2.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for gearlang-0.0.17.tar.gz
Algorithm Hash digest
SHA256 ec0d2ef5eb4cf608dbe13bb0105b6bdd8d7c667ba67868c7f24313c676b90ebc
MD5 35239ac67bcfc9718be16b1be7ea3df2
BLAKE2b-256 0303df428930a3f445559aa2400ec6450bd6fa2fd6f2d5b9de730b3f02ea2af5

See more details on using hashes here.

File details

Details for the file gearlang-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: gearlang-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for gearlang-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 4524a703224290f7522e1b8dd5c84d6c7dbb4a896ff346878d80ba2cd9b0c751
MD5 0f2049cda3073ce52ad12a16a100d449
BLAKE2b-256 fe52a4a72a4957fbc76385d59c1fac7c6db9854d68883c4b12b626428404581f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page