Martin

Senior Member
Dec 31, 2000
56,913
so its just an xml script or something?

send it to me, i want to run it through our dev sys for kicks :D
what I'm writing? a parser. you know what a parser is, right? reads the text and finds the structure.

here's a demo of my crappy parser:

*Xml> r "<a><b/></a>"
Nested (NodeOpen "a") [Single (NodeSingle "b")] (NodeClose "a")

Nested, Single, NodeOpen etc are type names (eg. classes) that you can do stuff with once you have them (verify NodeOpen string == NodeClose string for instance).
 

Red

-------
Moderator
Nov 26, 2006
47,024
hmm, I've always been decent at putting, it's just sometimes finding the right amount of power is hard.
So do you play much?
Barely at all through the winter, but two or three rounds per week in the summer.

Haven't played competitively for a couple of years, though.
 

.zero

★ ★ ★
Aug 8, 2006
82,915
what I'm writing? a parser. you know what a parser is, right? reads the text and finds the structure.

here's a demo of my crappy parser:

*Xml> r "<a><b/></a>"
Nested (NodeOpen "a") [Single (NodeSingle "b")] (NodeClose "a")

Nested, Single, NodeOpen etc are type names (eg. classes) that you can do stuff with once you have them (verify NodeOpen string == NodeClose string for instance).
i don't write them, the system i develop uses parser sets to to read data as it translates from point A (the ERP) to point B (middleware protocol) to point C (the outbound transmission gateway)

the parser you are writing would be one of the millions of cogs to this process within this entire data flow.

i was just glad to hear that word outside of a severity 1 issue at work ;)
 

Martin

Senior Member
Dec 31, 2000
56,913
i don't write them, the system i develop uses parser sets to to read data as it translates from point A (the ERP) to point B (middleware protocol) to point C (the outbound transmission gateway)
i know, no sane person would. but then there is that term "academic exercise", and this is academia..
 

.zero

★ ★ ★
Aug 8, 2006
82,915
alright boys i'm off 2 cop some new shoes for work (my steve maddens are worn down and dated) and then grab some dinner

be back online later suckazz
 

.zero

★ ★ ★
Aug 8, 2006
82,915
i know, no sane person would. but then there is that term "academic exercise", and this is academia..
you should tell your professor that in the real world parser sets are built-out within a system or come out-of-the-box being pre-indicted. unless you have extremely special data with extremely large or special character sets for example, then customization may be needed. but even then no one "writes" them

thats what i hated about school

later hoes
 

Martin

Senior Member
Dec 31, 2000
56,913
Victory! :party:

Code:
*Xml> o "<root><pre/><nest><childone/><childtwo/><childthree/></nest><post/></root>"
<root>
  <pre/>
  <nest>
    <childone/>
    <childtwo/>
    <childthree/>
  </nest>
  <post/>
</root>
Yup, that's the whole point of the exercise, format in output. But the only way to do that is to parse the bitch. *tired*
 

Martin

Senior Member
Dec 31, 2000
56,913
you should tell your professor that in the real world parser sets are built-out within a system or come out-of-the-box being pre-indicted. unless you have extremely special data with extremely large or special character sets for example, then customization may be needed. but even then no one "writes" them

thats what i hated about school

later hoes
i'm fairly sure he knows that. but parsing is the frontend of any compiler and since I'm doing a compiler course...
 
OP
ßöмßäяðîëя
Apr 12, 2004
77,165
  • Thread Starter
  • Thread Starter #12,755
    what a useless day at work!
    awww, come here baby
    :lol2:
    *Like*

    Haven't listened to them in ages.
    You know you love them.
    Writing my research proposal for my dissertation

    Objectives
    1. Analyse the development of contract law in football in the UK pre-Bosman
    2. Examine the decision of the court in the Bosman case
    3. Explore how it has affected football in the UK
    4. Identify potential for reform of the law
    5. Make recommendations for the reform of contract law in football
    Caused high long ball style play with an emphasis on offense and allowed for the opportunity of many foreign persons. Actually, it caused all English players to suck and then made all major clubs buy only foreigners until in 2003 when London based club Arsenal fielded the first non-English team and went undefeated in that year.
    your sig is quiet disturbing
    I think it is thug nasty.
    OMG!!

    i hate dealing with xml parser errors!! depending on what character set the middleware interface translates of course.

    UNICODE?
    UNICODE!!!!!
    I don't understand you, go back to your country!

    White Power!
    :lol2:
     

    Red

    -------
    Moderator
    Nov 26, 2006
    47,024
    ßü&#1103;&#1082;&#949;;1802393 said:
    Caused high long ball style play with an emphasis on offense and allowed for the opportunity of many foreign persons. Actually, it caused all English players to suck and then made all major clubs buy only foreigners until in 2003 when London based club Arsenal fielded the first non-English team and went undefeated in that year.
    I'm comparing it to how it was before Bosman, rather than other leagues, so the long ball bit doesn't apply.

    I'll be more focused on it contributing to the widening of the gap between the rich teams and the others.
     
    OP
    ßöмßäяðîëя
    Apr 12, 2004
    77,165
  • Thread Starter
  • Thread Starter #12,760
    I'm comparing it to how it was before Bosman, rather than other leagues, so the long ball bit doesn't apply.

    I'll be more focused on it contributing to the widening of the gap between the rich teams and the others.
    I was just joking, but when talking about the Bosman Ruling, make sure you mention that CUNTASS Michael Ballack.
     

    Users Who Are Viewing This Thread (Users: 2, Guests: 141)

    • swag