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

Uploaded Source

Built Distribution

gearlang-0.0.13-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gearlang-0.0.13.tar.gz
  • Upload date:
  • Size: 2.7 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.13.tar.gz
Algorithm Hash digest
SHA256 a33b65a384738d3671f49680f5564dfccd479a5d3fdba2ef5c15cfaef305c272
MD5 6873a4eff5fec0f9709c8352500a31df
BLAKE2b-256 61e2ea4f1d71c8aa586f960a64394adfce11da3714f3eb2b48b693fe9f0ef3ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gearlang-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 68450e144ccd9e236a10148f6db0c99747754552e2d381f9d0b85dcc4985199c
MD5 1e1ffc5e93e49ffdb4d15092bcdefa7c
BLAKE2b-256 d7b69d7e3f39d2bf3ed37a4bdc3318d45763703fdbe837ae6fecd18f26fb5da3

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