2017 © Pedro Peláez
 

library lexer

A lexical analyser.

image

kothman/lexer

A lexical analyser.

  • Sunday, August 21, 2016
  • by kothman
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Lexer

Performs lexical analysis on a string given a set of rules., (*1)

Installation

Via Composer, (*2)

composer require kothman\lexer

Usage

$expression = '( 1 + 2 )-3';
$lexer = new Kothman\Lexer\Lexer($expression, Kothman\Lexer\ArithmeticRules::class);
print_r($lexer->getTokens());

The Versions

21/08 2016

dev-master

9999999-dev

A lexical analyser.

  Sources   Download

MIT

The Development Requires

21/08 2016

0.1.2

0.1.2.0

A lexical analyser.

  Sources   Download

MIT

The Development Requires

21/08 2016

0.1.1

0.1.1.0

A lexical analyser.

  Sources   Download

MIT

The Development Requires

20/08 2016

0.1

0.1.0.0

A lexical analyser.

  Sources   Download

MIT

The Development Requires