PHPackages                             xylemical/parser - 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. xylemical/parser

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

xylemical/parser
================

Provides a regex based parser.

111PHP

Since Jul 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/xylemical/parser)[ Packagist](https://packagist.org/packages/xylemical/parser)[ RSS](/packages/xylemical-parser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Parser
======

[](#parser)

Convert strings into an abstract syntax trees, and abstract syntax trees into strings.

Install
-------

[](#install)

The recommended way to install this library is [through composer](http://getcomposer.org).

```
composer require xylemical/parser
```

Usage
-----

[](#usage)

### Tokenizer

[](#tokenizer)

The primary usage of the tokenizer is:

```
