I've been thinking and a question has arisen. Does this type of compiler really need the complete syntax tree in memory? ...
I've been thinking and a question has arisen. Does this type of compiler really need the complete syntax tree in memory? ...
I have something like the following: I defined: But I have a problem with parsing the above condition any idea how to parse the above? ...
I defined the following grammar using Parse::RecDescent which i wants it to handle the following cases : X = 2 -> should print 2 X = "2" -> ...
I'm trying to remove an error from my sanity-checking [when I push code to my git repo, there's a hook that checks the code with perltidy & critic ...
Currently I use this to parse Arithmetic expressions : It works for simple expressions, but can't handle nested bracketed-expressions. Any idea how ...
I'm trying to parse HAML (haml.info) with Parse::RecDescent. If you don't know haml, the problem in question is the same as parsing Python - blocks of ...
Thanks for the inputs for question posted at link Parse::ABNF perl usage . I am still facing difficulty in resolving my problem. Request to check my p ...
I'm trying to use Parse::RecDescent make a parser which can parse parenthetical expressions and the unary operator ?. What I have so far is failing w ...
In Parse::RecDescent, how do I effectively ignore C++/Java style comments? This includes single-line ('//' until the end of the line) and multi-line ( ...
I'm using Parse::RecDescent to parse lines in a Cisco IOS ACL. The ACL is used on the edge router of a large network, so it contains almost 8k lines w ...
I use module Parse::RecDescent and try to build grammar to catch perl sub name why in my code https://gist.github.com/1595532 not work gramma get_sub ...
I have lots of large plain text documents I wish to parse with perl. Each document has mostly English paragraphs in it, with a couple of plain text ma ...
I have a web application that uses a parser created with Parse::RecDescent. A parser object is needed in several parts of the application and since th ...
I'm working with the Parse::RecDescent parser in Perl, and I seem to have the most terrible time getting information from it. The information readily ...
Having a lot of pain with the following Perl file parsing code [last reply on PM @http://www.perlmonks.org/index.pl?node_id=754947] below: Output: ...