Click here to Skip to main content
15,896,207 members
Articles / Programming Languages / C#

Robin Project - Not Only A Super Parser

Rate me:
Please Sign up or sign in to vote.
2.63/5 (12 votes)
17 Mar 2008CPOL16 min read 18K   229   17  
Robin implements ANN method into parser technology which ends the age of parser generators
<?xml version="1.0" encoding="utf-8"?>
<_:_ xmlns:_="http://www.robinproject.org">
  <_:exp>
    <_:_>
      <_:exp />
      <_:spaces />
      <_:addop />
      <_:spaces />
      <_:term />
    </_:_>
    <_:_>
      <_:term />
    </_:_>
  </_:exp>
  <_:term>
    <_:_>
      <_:term />
      <_:spaces />
      <_:mulop />
      <_:spaces />
      <_:factor />
    </_:_>
    <_:_>
      <_:factor />
    </_:_>
  </_:term>
  <_:factor>
    <_:_>
      <_:left_paren />
      <_:spaces />
      <_:exp />
      <_:spaces />
      <_:right_paren />
    </_:_>
    <_:_>
      <_:number />
    </_:_>
  </_:factor>
  <_:addop>
    <_:_>
      <_:add_sign />
    </_:_>
    <_:_>
      <_:sub_sign />
    </_:_>
  </_:addop>
  <_:mulop>
    <_:_>
      <_:mul_sign />
    </_:_>
    <_:_>
      <_:div_sign />
    </_:_>
  </_:mulop>
  <_:left_paren>
    <_:_>(</_:_>
  </_:left_paren>
  <_:right_paren>
    <_:_>)</_:_>
  </_:right_paren>
  <_:add_sign>
    <_:_>+</_:_>
  </_:add_sign>
  <_:sub_sign>
    <_:_>-</_:_>
  </_:sub_sign>
  <_:mul_sign>
    <_:_>*</_:_>
  </_:mul_sign>
  <_:div_sign>
    <_:_>/</_:_>
  </_:div_sign>
  <_:number>
    <_:_>
      <number />
      <digit />
    </_:_>
    <_:_>
      <digit />
    </_:_>
  </_:number>
  <_:digit>
    <_:_>0</_:_>
    <_:_>1</_:_>
    <_:_>2</_:_>
    <_:_>3</_:_>
    <_:_>4</_:_>
    <_:_>5</_:_>
    <_:_>6</_:_>
    <_:_>7</_:_>
    <_:_>8</_:_>
    <_:_>9</_:_>
  </_:digit>
  <_:spaces>
    <_:_>
      <_:spaces />
      <_:space />
    </_:_>
    <_:_></_:_>
    <_:_>
      <_:space />
    </_:_>
  </_:spaces>
  <_:space>
    <_:_> </_:_>
  </_:space>
</_:_>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) NOC
China China
Please view my resume at

http://www.rentacoder.com/RentACoder/SoftwareCoders/showBioInfo.asp?lngAuthorId=1309793

Comments and Discussions