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

Uploaded Source

Built Distribution

gearlang-0.0.18-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gearlang-0.0.18.tar.gz
Algorithm Hash digest
SHA256 854fff98d72659928bd6ceb43e916dce18765dddf93335922c2627044dd1c45c
MD5 8ba503aa28e447a44db7d6cf16ab2597
BLAKE2b-256 71c02f450f1701711a6af9cc5d6efd9a7a0baa435349b440c89a778ecc907421

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gearlang-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • 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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 0a0f1b14f732662b94bcf35dc43bc2349eace0a9f27b8499992943438561cb11
MD5 306b93d50b5ae6c92a1dc2c04ce37cab
BLAKE2b-256 cc39d541fe2a7a01da8bdf66f42aeae47d471feb355c91f950204cd093da4a6a

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