46 Topics
|
|
Have you ever wanted to develop a math parser and evaluator? Are you in such a quandary or just have curiosity or interest in the matter? If so, you may download the complete source version 8.3.48 or later, but be warned there is almost no comment; or instead, follow versions … |
|
Hi,all I need a java parser for parsing any java file in any package,not only existing file ...Can i do this ? how? |
|
Hi, in this code how can I calculate coupling between objects CBO in java after parsing java file using registerCoupling method and retrieve any coupling between classes through argument, class name,type and so on ..... |
|
Dajia hao, daniwebians! Just a quick question, is it possible to focus on a textbox on an externally loaded website? My goal is to load an external website, focus on a textfield, auto fill it with the current date, then submit it to then run my newly created scraper tool … |
|
I've have a String String s = " ~ ( A || B ) && C "; A B C can take 0,1,x they follow Boolean Arithmetic w.r.t 'x' Boolean Arith is as follows 0 || x = x 1 || x = 1 x || x =1 x && … |
|
Hi all, I've started to get acquinted with Perl's HTML::Parser, which does a really good job at parsing html (duh ;-) But for the life of me, I can't get it to return the actual text from subroutine! I keep getting references to it :\ :\ use HTML::Parser; package MyParser; … |
|
Hi, I am implement a plugin project in eclipse in java language. I have a parse which is in s simple txt file. Below is the txt for the parser. id=app1 [String] #type=app [String] mainView=top name=First App [String] children: size=1 === child[0] === class=View id=top [String] #type=View [String] #line=8 [Integer] … |
|
A PHP Error was encountered Severity: 4096 Message: Object of class CI_DB_mysql_result could not be converted to string Filename: libraries/Parser.php Line Number: 101 the code id <?php foreach($query->result() as $rows): ?> <?php echo $rows->title; ?> <?php endforeach; ?> Any solution. |
|
Hello everyone, I'm an amateur programmer, and I am working on a program to help me practice my mental math. The essence of this program is that the user inputs an expression which will be the form of each question. Their goal is to solve those expressions as fast as … |
|
How to parse a string data " B. Prakash 98400 51038 B.M. LAL BROS., TYRjijbEALERS 3 Whites Road, Royapettoh,thennai r 600 014. Ph: 2852 4560 Fax: +91-44-2858 8306 Email: bmlalbros@etn.iiet'" conisder this is my string data and i need to fetch name, address, phone , email seperately is there any … |
|
Hello, I want a resume parser in PHP, which parse the resume and take candidates name, skill set, city, education, etc. If anyone have it and want to share then please do. (because due to some time schedule, I donthave time to write.) or please do let me know links … |
|
Hi i am trying to parse a *large xml* file and printing the tags to a output file. I am using *minidom*, my code is working fine for 30Mb files but more than that its getting memory error.So i used buffer reading the file but unable to get the desired … |
|
Hello Internet. So the task is to create our own parser for a expression calculator. For Example: Input: 3+2*1-6/3 Output: 3 Input: 3++2 Output: Invalid Expression Input: -5+2 Output: -3 Input: 5--2 Output: 7 The code [Here](http://www.technical-recipes.com/2011/a-mathematical-expression-parser-in-java/) solves a part of the problem except that it has a fixed input … |
|
Parser implementation Hi I am trying to implement a parser for a simple language with grammar like this. program ::= "program" declarations "begin" statements "end" declaration ::= "var" ident "as" type type ::= "string" | "int" I have the first two done, how would I write the type grammar? program( … |
|
I am using PHP Simple HTML DOM Parser * [Manual] to fetch data from websites. Now what i wanna do is to remove first three words from all span which has `class="yeah"` from the fetched content So i have implement this code but it has a problem: foreach($html->find('span.yeah') as $xdat) … |
|
Hi I am trying to implement a parser for a simple language with grammar like this. program ::= "program" declarations "begin" statements "end" declaration ::= "var" ident "as" type type ::= "string" | "int" I have the first two done, how would I write the type grammar? program( prog( DECLS, … |
|
how to get content from a table id in [simple html dom parser](http://simplehtmldom.sourceforge.net), the table id is `products` and i have tried with this code: <?php include("dom.php"); $html = file_get_html("http://www.example.com"); $result = $html->find('table[id=products]'); echo "$result"; ?> but don't works, any idea to fetch content of a table which id is … |
|
I am just starting with Simple PHP HTML DOM PARSER so, what is the way to replace text only of any fetched content. Suppose i have fetched some content from a website with full HTML codes, but while applying PHP code like `$html = str_replace(".", "DOT", $html);` it cause a … |
|
i wonder if it is possible to fetch images using [PHP Simple HTML DOM Parser](http://simplehtmldom.sourceforge.net/) and obtain it in a specific URL. Suppose it fetched a Image in a variable like $img = 'http://www.example.com/some_image_address.JPEG'; Now is it possible to get this image in my own domain path, like $new_img = … |
|
I want to be able to get the html of many different sites and parse them to pull the article text from them, it cant be specific for one site as i want to use it form many sites, what would be the best way of doing this? |
|
I started with curl and now I'm able to post form data, obtain html pages and all that basic stuff. But I'm unable to analyse individual data in the obtained webpage. Like filtering all the images, videos and things like that. I can do that in Javascript, but that can … |
|
I need help in running a program that makes a SLR Parser Table. Here is the code : Code to find first and follow: saved as SLR.h #include<stdio.h> #include<ctype.h> #include<conio.h> #include<stdlib.h> #include<string.h> #include<iostream.h> #define epsilon '^' // since I didn't know how to type epsilon symbol temporily I am using … |
|
Hi, I'm only starting my program and I already have this error but I really don't understand which ones are causing this shift/reduce conflict and why. Can please someone help me? it says I have 2 conflict shif/reduce. This is the grammar: [CODE]Start : Declarations/* put your RHS for this … |
|
Hi there I have been trying to experiment with Parsing XML using Javascript. For some reason nothing happens. I found this example on W3 schools. Any idea why it's not working? This is my HTML page which contains the Javascript [CODE]<html> <head> <script type="text/javascript"> if (window.XMLHttpRequest) {// code for IE7+, … |
|
The title says it all; I want to make a simple, not all-over-the-place HTML code. I'm asking for help since I'm still in middle school. I understand a lot of code, but if you give me a from college class explanation, it's not going to help until I get to … |
|
Hello! I am currently working on a text adventure in C++ and could use some help. What I'm trying to do is let the user input a command like the following: 'go kitchen' 'open door with key' and make the game react accordingly. I have a text parser which splits … |
|
Hello guys , I am looking for a HTML parser in C/C++. I am trying to make a movie rater , which take name of movies from a folder and stores it in a file , then sort it according to their rating on net. So ,I am thinking to … |
|
Hello, I'm doing a project for my Compilers course and I stuck up on this. my project is little, it's a program that allows entering a mathematical equation and identifies and outputs the equations type to the user. I wrote the grammars for it and used Flex to generate a … |
|
I have an [URL="http://pantheonarts.host22.com/xml/feed.xml"]RSS feed[/URL] set up using XML on the website I've developed for [URL="http://pantheonarts.host22.com/"]Pantheon Arts Unlimited[/URL]. I'm still fairly new to PHP and MySQL, so I find myself often jumping to various forums looking for answers for what are usually fairly obvious questions. My newest problem, however, I've … |
|
Hi, I have a program that generates an outputstream with XML-data. With a socket connection, I have to read multiple XML-files from the inputstream. To read only one XML-file from the inputstream is not a problem, the fact that there are more than one and I have to split up … |
The End.