Skip to content

Installation

Muqsit Rayyan edited this page Mar 31, 2023 · 2 revisions

arithmexp is distributed as a Packagist Library and a Poggit Virion. For installation using composer, run:

composer require muqsit/arithmexp

To use arithmexp as a virion for development, download the latest .phar build from poggit and place it in your virions/ folder. Make sure to download the devirion plugin if you haven't already.

pmmp_folder
|-- plugins
|   `-- devirion.phar
|-- virions
|   `-- arithmexp_dev-#.phar

To use arithmexp as a virion for production, edit your plugin's .poggit.yml file by adding the following:

projects:
  MyPluginName:
    path: ""
+   libs:
+     - src: muqsit/arithmexp/Parser
+       version: ^0.1.29

1. Quick Start

1.1. Installation

2. Documentation Notes

2.1. Constant
2.2. Function
2.3. Macro
2.4. Operator
2.5. Variable
2.6. Expression Optimization
2.7. Implementation Internals

Clone this wiki locally