Skip to content

Rewrite the Lexer interface as an Interator #24

@scfc

Description

@scfc

There is no real reason to port the yylex () "interface" from C to PHP other than nostalgia. In foreach($object as $key => $value), $key would be the token number and $value the semantic value.

http://de3.php.net/manual/en/class.iterator.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions