Data dodania Pytanie
2017-12-09 07:12 How to parse source code into english? »
What step I have to take to build such program. I want to have a program that take a simple (limited) java keyword into english human language. e.g ...
(1) odpowiedzi
2017-12-01 21:12 Ruby Savon - Parse XML string »
I have exhausted google on this subject and I just can't seem to get it right.. I have the following XML payload returned from Savon: <?xml ver...
(1) odpowiedzi
2017-11-25 21:11 How to iterate through this text file faster? »
I have a file with lots of sections in this format: section_name_1 <attribute_1:value> <attribute_2:value> ... <attribute_n:value> ...
(1) odpowiedzi
2017-11-22 01:11 Override Ruby's base C code from Gem »
For the sake of experimentation, I am looking for a way to modify some of Ruby's base code, specifically the parser. I was wondering if this was possi...
(1) odpowiedzi
2017-11-07 12:11 Sequencing operator in Haskell Parser »
We are trying to build a Parser, but I can't understand the way the function p works, even if I understood the >>>= operator. How does de p f...
(2) odpowiedzi
2017-10-31 16:10 Simple Parse in Haskell with do construct »
I'm trying to write a simple Parser, so all the declarations are listed in the image below, but when I try to compile this module it fails. I'm follow...
(1) odpowiedzi
2017-10-31 11:10 Ordered array connection in Ruby »
I have 3 arrays of the following form: arr1 = [11a,12b,13c,14d,15e,16f] arr2 = [21g,22h,23i,24j,25k,26l] arr3 = [31m,31n,32o,32p,33q,34r,35s,36t,36u]...
(1) odpowiedzi
2017-10-26 15:10 Easy way to create string-stream from file-stream »
I wanted to try meta-sexp package. It's a PEG-like parser library. Now, it has a method create-parser-context which can only take string or string-s...
(0) odpowiedzi
2017-10-19 07:10 Impelement a generic parser class »
I wanna to write a generic excel parser class. But there is a problem with passing functions to it. A parser read excel rows and create an object fro...
(2) odpowiedzi
2017-09-08 12:09 Error during conversion of a string to JSON object in ReactJS application »
As part of my ongoing effort to learn ReactJS I'm developing a simple page that will render a list of trends as follows: On clicking the button "Ge...
(5) odpowiedzi
2017-08-23 15:08 Why does the order of ANTLR4 tokens matter? »
I have a simple grammar that will eventually parse YANG source. When I make when seem to be an arbitrary change the location of the MODULE token the I...
(1) odpowiedzi
2017-08-19 01:08 Dynamic way to access JSON nested values in Java »
I have this JSON object: { "maindrawer": { "enabled": true, "actions": [ { "type": "Secti...
(3) odpowiedzi
2017-08-18 23:08 Parsing JSON using php jsonpath »
I'm trying to parse a JSON in PHP using jsonpath .... My JSON is coming from this https://servizionline.sanita.fvg.it/tempiAttesaService/tempiAtte...
(2) odpowiedzi
2017-08-01 15:08 How to overcome the lack of Perl's \G in JavaScript code? »
In Perl, when one wants to do continuous parsing on a string, it can be done something like this my $string = " a 1 # "; while () { if ( $str...
(2) odpowiedzi
2017-07-29 07:07 separate first middle last name C# »
Goal: parse name when user enters name, and have a message box display with first middle and last name. Right now it only works when you type in three...
(4) odpowiedzi
2017-07-18 11:07 How can I check if a string contains a number between two brackets and return the location? »
Say I have str = "qwop(8) 5" and I want to return the position of 8. I have the following solution: import re str = "qwop(8) 5" regex = re.compil...
(2) odpowiedzi
2017-06-22 11:06 Extracting Json from xml text file in iOS Swift »
i have to extract and parse json from a text file, i know how to parse json but i'm just unable to extract it correctly from xml format. this is my xm...
(1) odpowiedzi
2017-06-11 13:06 Convert string shortcodes to array without wordpress function »
I have a string containing multiple shortcodes like this: // string contain multi shortcode $string = '[code_1] [code_2 attr_2="test2"]Here2[/code_2]...
(1) odpowiedzi
2017-06-01 07:06 What is the meaning of the 'send' keyword in Ruby's AST? »
I am trying to learn the Ruby lexer and parser (whitequark parser) to know more about the procedure to further generate machine code from a Ruby scrip...
(2) odpowiedzi
2017-05-14 12:05 How to parse multiple integers »
So I want to parse multiple integers by dividing them by , or space. Let's say user is only allowed to enter 4 numbers max. So how do I make multiple ...
(1) odpowiedzi
2017-05-07 08:05 Take a string, turn it into some DB commands (C#) »
I need to write something in C# that allows users to query data in a human-readable format. So in a textarea, they would type in this: Students.Class...
(1) odpowiedzi
2017-04-11 18:04 How to solve a control flow graph for pure expressions or functions? »
I have a simple, high-level assembly language, for which I can generate control flow graphs. I'm trying to solve/parse those control graphs for pure e...
(0) odpowiedzi
2017-04-11 17:04 Parsing a "simple" grammar »
Sorry in advance; I am sure this question will seem almost idiotic to people who are used to playing with parsers and grammars, but these are foreign ...
(1) odpowiedzi
2017-03-31 07:03 Android JSON parsing error cannot be converted to JSONArray »
I'm fairly new to Android dev, and am trying to write a programme to parse some JSON from a website and output it in a ListView. However, when I run m...
(5) odpowiedzi
2017-03-21 15:03 Java/Kotlin JSON parsing improvement »
I consume an API which gives me this type of JSON: { "data": { "name": "Start", "pid": "1", "position": { "data": { "x": ...
(0) odpowiedzi
2017-02-24 10:02 In Python, how to parse a string representing a set of keyword arguments such that the order does not matter »
I'm writing a class RecurringInterval which - based on the dateutil.rrule object - represents a recurring interval in time. I have defined a custom, h...
(2) odpowiedzi
2017-02-19 17:02 read multiline strings with ruby, broken by "\" »
in some RPM spec files (for instance), there are multiline strings which look like: %build export CFLAGS="%{optflags} -fomit-frame-pointer \ -W -Wall...
(2) odpowiedzi
2017-02-12 18:02 PHP to Parse a HTML page and output a certain div »
So I've been trying to embed a part of a website within my website due to security reasons I cannot disclose the website that I am trying to embed so ...
(1) odpowiedzi
2017-02-10 16:02 Regex challenge: changing formats of negative numbers »
First of all, I think I have to apologize for not having that much knowledge of regular expressions (yet). I have searched and searched, but haven't f...
(1) odpowiedzi
2017-01-31 02:01 Removing <head> issues, I need guide/assistance »
So guys, i'm make a web parser it was good but i saw that some words inside <head> is screwing everything up (and <strong> in the body too...
(1) odpowiedzi
2017-01-29 06:01 Parse PHP into HTML style parameter »
I want to make the style parse from the information given in the query. I have the bgcolor & text color that I want displayed listed in my table,...
(0) odpowiedzi
2017-01-25 18:01 Insert a large csv file, 200'000 rows+, into MongoDB in NodeJS »
I'm trying to parse and insert a big csv file into MongoDB but when the file extends 100'000 rows I get a bad response from the server. And the files ...
(1) odpowiedzi
2017-01-04 23:01 How does ruby parse 2 /3/ 4 as 2 ÷ 3 ÷ 4? »
A lot of ruby's syntax and parsing is relatively logical, but I am confused as to how ruby knows, from context, that 2 /3/ 4 is 2 ÷ 3 ÷ 4 instead of...
(1) odpowiedzi
2016-12-29 03:12 BeautifulSoup `find_all` generator »
Is there any way to turn find_all into a more memory efficient generator? For example: Given: soup = BeautifulSoup(content, "html.parser") return ...
(3) odpowiedzi
2016-12-24 01:12 Python: how to Parse and check the time? »
How do I extract the IP address that occurs 10 times within a one-second time interval? In the following case: 241.7118.197.10 28.252.8 ...
(2) odpowiedzi