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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gearlang-0.0.16.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.16.tar.gz
Algorithm Hash digest
SHA256 d37e676965575db7d5c20e0979c64e4d401489461459659b40f0098f8fa0e7f1
MD5 920ad0cec1431d7aeb60711276a3e37f
BLAKE2b-256 864a8d2d1e40164c4d4b96774888302f576e02caf5ed72f773276e8363284896

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gearlang-0.0.16-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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 7080aaebeb04be834ac83c2cb2d5e9a6f50e10d7fc9497840077ed070f35c95e
MD5 1d52ecc73d2444b0f9a70dd4173ee656
BLAKE2b-256 c2c80048a15387226ca689460ac5c29bdebfc80075ea322411ec6fc6b0ac64bd

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