Visit Experts Exchange from your mobile device to search, ask, and monitor your questions. Never lose touch again.

Preview From Your Desktop
 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested Parsers Solutions: 1 - 24 of 24
  • 1
 
Hi, I want to download urls recursively, starting from : http://code.google.com/apis/maps/, but I want to download only those URLs which match the this pattern : http://code.google.com/ap...
Hi, I have a rule defined as follow:   comando :  IF '(' exp ')' comando parte_else                     | WHILE '(' exp ')' comando                     | FOR '(' exp '=' exp ';' exp ';' e...
I am quite confused by the following semantic rules, what does it mean? I am confused mainly by the ? and the v symbols
HI, I am new to Java and XML, I am given 2 xml files and I have to report the difference between the two. These xml files are encoded in UTF-8. Here are some general qeustions that I hav...
I'm in need to build a grammar interpreter for a language similar to Pascal using tools like YACC and Lex. I have found this on the internet: http://www.moorecad.com/standardpascal/yacclex.htm...
hi, i am trying to evaluate a given if() statement. but the problem is the given if() is a String. Example. String someIF = "if((a>b)||(c==d)&&(z==1))"; how can i evaluate someIF an...
Hi Experts,      I am taking a class in Programming Languages and I'm reading from my textbook (sebesta) but do not understand how they are coming up with the phrase, simple phrase and han...
I am looking to make a small domain specific language and I'd like to see what the trade offs are between choosing between Yacc, Bison, or Anltr for the building the parser?  Any advice?
Hi, I'm experimenting with prefix notation, I need to convert it to an abstract syntax tree or expression tree as it's also called. I've created a data structure for the tree, which are ...
I really don't know what is wrong, I've already defined the precedence operator in my code but this error is still happening, can someone please tell me why and how to fix it, here's y.output ...
I'm looking for example Php code for receiving cXML, parsing, and returning responce cXML. I believe the xml will be received as a form post via HTTP, so I assume I need to loop through  $_...
I'm working in Access, design view where I'm trying to extract the last 4 characters of a string. Example:  omega1234 (want the last 4 digits). I've tried the Right function but can't get it t...
I am considering using FLEX and BISON or ANTLR (haven't quite decided yet) for a project that I will be working on soon. Will I be able to sell a program that I make which uses the code genera...
Hello, I need code of converter written in bison and lex , that converts infix to postfix (Reverse Polish Notation) That works like this (example): IN : 2*(3 - 5) OUT : 2 3 5 - * Thanks.
I always got the following error: In file included from scanner.l:2: y.tab.h:24: error: expected specifier-qualifier-list before âExprTypeâ scanner.l: In function âyylexâ: scanner.l:67: ...
say i have the following EBNF notation: stmt        :       if '(' expr ')' stmt [ else stmt  ]       |      while '(' expr ')' stmt       |      for '(' [ assg ] ';' [ expr ] ';' [ assg ] ')' stmt       |      return ...
I've been working on a project that would involve parsing arithmetic-like expressions. I found this page: http://compilers.iecc.com/comparch/article/06-01-092 And I mostly understand ...
I have the following string stored in my database column called TreeXml. <C filename="00013024228c4e24a79bae959588acd4" parents="9daf7c70ac37479b8f91ef7bd08e07e6" DateModified="121735518...
Hi, Unix sheel script or equivalent (maybe perl?)  I have a bunch of zipped and unzipped text files with the same prefix that need to be parsed to select only the ones i need based on a st...
Hi, I'm trying to figure out how to convert an NFA to a DFA. (I assume people in this topic know what those are, if not let me know I will try to explain). Making an NFA from a regular e...
I know to eliminate the shift reduce conflict is by using the %prec operator, I did already but still got this: 179: shift/reduce conflict (shift 190, reduce 36) on TELSE state 179      stmt ...
I have generated xmlBeans object from a xml file .Now I need to find an Element in the Bean and populate it .I will be supplied a String which represents the Element name and I need to find it...
Is their any difference between return i+1; vs return (i+1); or return (false); vs return false; If their is a difference then what is it, and when do you use or not use the (...
I need to be able to write a text parser and modify it to scan and retrieve pieces of information out of a huge document.  I have tried but am not that proficient with visual basic. Could you ...
 
  • 1