Click here to Skip to main content
15,893,401 members
Articles / Containers / Virtual Machine

Parsing Expression Grammar Support for C# 3.0 Part 1 - PEG Lib and Parser Generator

Rate me:
Please Sign up or sign in to vote.
4.95/5 (49 votes)
7 Oct 2008CPOL40 min read 204.6K   2.1K   118  
Introduction to the parsing method PEG with library and parser generator
lit0=7     
lit1=2147483647
lit2=0177
lit3= 3L    
lit4=79228162514264337593543950336L    
lit5=0377L   
lit6=0x100000000L
lit7=79228162514264337593543950336             
lit8=0xdeadbeef
it9= 3.14  +  10.  +  .001  +  1e100  +  3.14e-10  +  0e0
it10=3.14j +  10.j +   10j   +  .001j +  1e100j + 3.14e-10j

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
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions