# Operators => Priority
OPERATORS={
  '+' => 0,
...

Ruby Simple tokenizer

by tzar, August 06, 2011 03:17, No refactoring, tagged with ruby, parsing

Takes a string and returns ...

9a75a91432c4a6b40bfbb6c6016296ec Talk
import csv, ConfigParser, datetime, time
from lxml import etree

...

Python XML Schema parsing and XML ...

by https://www.google.com/accounts/o8/id?id=AItOawnskEpQmE0uSHiw6mtC_WFcUDNCuvejHdE, July 21, 2011 10:08, No refactoring, tagged with xml, parsing, xsd, lxml

I wrote a tool to parse som...

55502f40dc8b7c769880b10874abc9d0 Talk
#!/usr/bin/perl -wT

use strict;
...

Perl Handling both dots and comm...

by knorv.myopenid.com, September 28, 2009 15:26, 9 refactorings, tagged with perl, parsing

I'm trying to create a meth...

55502f40dc8b7c769880b10874abc9d0 Talk
class Position

  attr_accessor :x, :y
...

Ruby parsing 2 1-digit numbers

by Martin Carel, January 15, 2009 21:17, 7 refactorings, tagged with ruby, parsing

Is there a better way to do...

6fe6808d7705a77f61e77f24dcebde14 Talk
namespace MyUtilities {
    using System;
    using System.Diagnostics;
...

C# Int32 Quick Parser

by Hosam Aly, January 07, 2009 11:16, 6 refactorings, tagged with parsing

I wrote a few parsing metho...

62af4c828e18a91dc60832fb1465f0cf Talk
def writefile(file, *linedata)
	linedata.each do |line| 	
		file << line.join(",") + "\n"
...

Ruby Parsing non-delimited text

by thepanu, October 06, 2008 07:48, 1 refactoring, tagged with parsing, csv, non-delimited, regexp

I have large text-reports f...

98edd841bbc19903cd758722d9745f0b Talk
<? php
if $userinput = "http://www."
{
...

PHP Replace user input with link

by Mlopez, January 02, 2008 01:39, 28 refactorings, tagged with http, parsing, phrasing, help, user, php, url, with, text, replace

im not quite sure where to ...

132a00e84e74c003f68311b39b28e969 Talk