PHPackages                             ls-a/arithmetic-ast - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. ls-a/arithmetic-ast

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

ls-a/arithmetic-ast
===================

Implements the Shunting Yard Algorithm and creates an Abstract Syntax Tree with arithmetic operations

1.0.0(7mo ago)0651GPL-3.0-or-laterPHPPHP ^8.0.0

Since Nov 13Pushed 7mo agoCompare

[ Source](https://github.com/ls-a-fr/arithmetic-ast-php)[ Packagist](https://packagist.org/packages/ls-a/arithmetic-ast)[ RSS](/packages/ls-a-arithmetic-ast/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (4)Versions (2)Used By (1)

Arithmetic AST
==============

[](#arithmetic-ast)

This documentation is also available in these languages:

- [Français](docs/LISEZMOI.md)

This library provides a implementation of Abstract Syntax Tree for arithmetic operations.
For more information, see these links:

- [https://en.wikipedia.org/wiki/Abstract\_syntax\_tree](https://en.wikipedia.org/wiki/Abstract_syntax_tree)
- [https://en.wikipedia.org/wiki/Reverse\_Polish\_notation](https://en.wikipedia.org/wiki/Reverse_Polish_notation)
- [https://en.wikipedia.org/wiki/Shunting\_yard\_algorithm](https://en.wikipedia.org/wiki/Shunting_yard_algorithm)

Code sample:

```
