Run servers | Ubuntu > | Fedora > |

OnWorks favicon

Doctrine Lexer download for Windows

Free download Doctrine Lexer Windows app to run online win Wine in Ubuntu online, Fedora online or Debian online

This is the Windows app named Doctrine Lexer whose latest release can be downloaded as 1.2.2.zip. It can be run online in the free hosting provider OnWorks for workstations.

Download and run online this app named Doctrine Lexer with OnWorks for free.

Follow these instructions in order to run this app:

- 1. Downloaded this application in your PC.

- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.

- 3. Upload this application in such filemanager.

- 4. Start any OS OnWorks online emulator from this website, but better Windows online emulator.

- 5. From the OnWorks Windows OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.

- 6. Download the application and install it.

- 7. Download Wine from your Linux distributions software repositories. Once installed, you can then double-click the app to run them with Wine. You can also try PlayOnLinux, a fancy interface over Wine that will help you install popular Windows programs and games.

Wine is a way to run Windows software on Linux, but with no Windows required. Wine is an open-source Windows compatibility layer that can run Windows programs directly on any Linux desktop. Essentially, Wine is trying to re-implement enough of Windows from scratch so that it can run all those Windows applications without actually needing Windows.



Doctrine Lexer


PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers. This lexer is used in Doctrine Annotations and in Doctrine ORM (DQL). To write your own parser you just need to extend Doctrine\Common\Lexer\AbstractLexer and implement three abstract methods. These methods define the lexical catchable and non-catchable patterns and a method for returning the type of a token and filtering the value if necessary. The Lexer is responsible for giving you an API to walk across a string one character at a time and analyze the type of each character, value and position of each token in the string. The low level API of the lexer is pretty simple. The setInput($input) option sets the input data to be tokenized. The Lexer is immediately reset and the new input tokenized. And the option glimpse(), peeks at the next token, returns it and immediately resets the peek.


  • You can write your own parser
  • It's possible to reset the Lexer and the peek pointer to 0
  • You can check whether a given token matches the current lookahead
  • You can also check whether any of the given tokens matches the current lookahead
  • You have the option to tell the lexer to skip input tokens until it sees a token with the given value
  • You can extract an array of upper case characters

Programming Language


This is an application that can also be fetched from https://sourceforge.net/projects/doctrine-lexer.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.