Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP parser functionality preview
08-23-2009, 07:35 PM
Post: #1
PHP parser functionality preview
Hi,
I've been working on PHP parser recently, however I ended up with the parser that is going to be more general, including HTML & CSS (and hopefully JS). In the current moment it is quite limited, supporting only PHP, but it is lexing HTML, CSS and JS, only not displaying structures for those languages.

The parser is running as stand-alone application, as it is easier for me to develop it. Finally I'll merge it as a plug-in to HateML of course.

I'm asking you to download it http://migajek.us.to/smietnik/hateml2_mi...Parser.exe (1.4 Mb) and test it

If you find any code not being parsed properly, please report it here or via PM / contact form / e-mail. If you really want to help, please include not only description but also the code which for which parser doesn't work properly.

Thanks in advance!

... and the screenshot
[Image: parser_screen.png]

HateML Pro
The fast and easy way of web development.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-25-2009, 10:51 AM
Post: #2
RE: PHP parser functionality preview
Hi,
yesterday I've added some features and fixed a bug which caused AV errors under some circumstances.

Changelog:
  • fix: AV errors, code is completly thread-safe now
  • new: PhpDoc support (description and tags: "param" & "return")
  • new: basic intellisense

In the current moment the intellisense shows only global functions (not class methods), however finding current context works (you can see function/variable/class name you're "inside") so implementing intellisense for class methods/variables (for $this-> & self::) should be easier now.


Here is the additional screenshot, showing intellisense concept (note, that in case we can't find type of param or type returned by function, it's replaced with "param" and "function" respectively).

[Image: intellisense_alpha.png]

HateML Pro
The fast and easy way of web development.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


[-]
Quick Reply
Message
Type your reply to this message here.


Image Verification
Image Verification
(case insensitive)
Please enter the text within the image on the left in to the text box below. This process is used to prevent automated posts.

Forum Jump: