https://github.com/lostjared/phpscan
Lexer written in PHP
https://github.com/lostjared/phpscan
Last synced: 10 months ago
JSON representation
Lexer written in PHP
- Host: GitHub
- URL: https://github.com/lostjared/phpscan
- Owner: lostjared
- Created: 2017-11-15T03:01:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-04T20:41:42.000Z (about 8 years ago)
- Last Synced: 2025-05-31T11:42:55.782Z (12 months ago)
- Language: PHP
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Watch this video first it explains the project: https://youtu.be/lw5x-KC7a9E
This is a project I put together in a few days to practice PHP (I have not used it for a long time).
Will break valid C family like code into tokens and display with information and its index. It only supports valid code.
Try pasting a small class or a source file of code.
It is not 100% perfect but works with most code you can try it out here:
http://lostsidedead.com/tokenizer.php