16,009,598 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Articles / Containers / Virtual Machine
Go to Article
Stats
Revisions
C#3.0
.NET3.5
C#
Windows
.NET
virtualization
virtual-machine
Parsing Expression Grammar Support for C# 3.0 Part 1 - PEG Lib and Parser Generator
Martin.Holzherr
Rate me:
Please
Sign up or sign in
to vote.
4.95/5 (49 votes)
7 Oct 2008
CPOL
40 min read
211.3K
2.1K
118
Introduction to the parsing method PEG with library and parser generator
peg_grammarexplorer.zip
PEG_GrammarExplorer
Documents
PEG_GrammarExplorer_fromCP.htm
PEG_GrammarExplorer_fromCP-Dateien
CodeProject.css
PEG_GrammerExplorer.jpg
mssccprj.scc
PEG Explorer
mssccprj.scc
PEG Explorer.csproj
PEG Explorer.csproj.user
PegExplorer.cs
PegExplorer.Designer.cs
PegExplorer.Designer_in_err.cs
PegExplorer.resx
Program.cs
Properties
AssemblyInfo.cs
Resources.Designer.cs
Resources.resx
Settings.Designer.cs
Settings.settings
vssver2.scc
vssver2.scc
PEG_GrammarExplorer.sln
PegBase
mssccprj.scc
PEG Base.csproj
PegBase.cs
Properties
AssemblyInfo.cs
vssver2.scc
vssver2.scc
PegSamples
BasicEncodingRules
BER.cs
BER_peg.txt
BERConvert.cs
BERTree.cs
BERTree_peg.txt
input
CDURKR2URKR125195
DefiniteLengthForm
CDURKR2URKR125195
hello
TDAUTPTEUR0100011.tap3
vssver2.scc
hello
IndefiniteLengthForm
DefiniteLengthForm
TDAUTPTEUR0100011.tap3
TDAUTPTEUR0100011.tap3
TDAUTPTEUR0100011.tap3
TDAUTPTEUR0100011_withError.tap3
vssver2.scc
vssver2.scc
C_KernighanRitchie2
C_KernighanRitchie2.cs
C_KernighanRitchie2_peg.txt
input
approx_preprocessed.c
bignum1_preprocessed.c
bignum2_preprocessed.c
binsrch_preprocessed.c
bitarray_preprocessed.c
bitcnt_preprocessed.c
bitstrng_preprocessed.c
deque_preprocessed.c
vssver2.scc
vssver2.scc
calc0_direct
calc0_direct.cs
calc0_direct_peg.txt
input
calc0_direct_01.txt
vssver2.scc
vssver2.scc
calc0_tree
calc0_tree.cs
calc0_tree_eval.cs
calc0_tree_peg.txt
input
calc0_tree_01.txt
calc0_tree_02.txt
calc0_tree_03.txt
calc0_tree_04.txt
vssver2.scc
vssver2.scc
CSharp3
CSharp3.cs
CSharp3_peg.txt
CSharp3Fast.cs
CSharp3Fast_peg.txt
docu
input
Accessibility.cs
AnonymousFunc.cs
Array_01.cs
Array_02.cs
AssignInCondition.cs
Attribute_01.cs
Attribute_03.cs
AttributesForClass.cs
BaseClasses.cs
BitArray.cs
boxing_unboxing.cs
BreakStatement.cs
CastTest.cs
CastTests.cs
CheckedAndUncheckedStatements.cs
ConditionalDirective.cs
ContinueStatement.cs
Delegate_01.cs
Delegate_02.cs
Delegate_03.cs
DelegateAndLambdas.cs
DelegateRemoval.cs
DelegateType.cs
DestructionAndCollection.cs
Destructor.cs
DoStatement.cs
Enum_01.cs
EnumsTest.cs
EnumUnderlyingTypeSByte.cs
Event_01.cs
Event_02.cs
ExpressionStatement.cs
ExternAlias_01.cs
Fields.cs
ForEachStatement.cs
ForStatement.cs
Generic_01.cs
Generic_02.cs
GotoStatement.cs
Hello.cs
HelpAttribute.cs
HelpAttributeReflection.cs
HelpAttributeUse.cs
IfStatement.cs
Inheritance.cs
Inheritance_01.cs
Interface_01.cs
LocalConstantDeclaration.cs
LocalVariableDeclaration.cs
LockStatement.cs
LogicalOr.cs
NestedRedeclaration.cs
OuterInner.cs
Params_01.cs
Params_02.cs
ReturntStatement.cs
Sealed.cs
Stack.cs
StringTest.cs
SwitchStatement.cs
TestStack.cs
ThrowAndTryStatement.cs
TryCatchFinally.cs
TypeOf.cs
TypeParameters.cs
UnicodeEscapes_01.cs
UnicodeEscapes_02.cs
Unsafe_01.cs
UsingStatement.cs
Variables.cs
VerbatimIdentifier.cs
vssver2.scc
WarningPragma.cs
WhileStatement.cs
YieldStatement.cs
vssver2.scc
EMail
EMail.cs
email_rfc2821_peg.txt
input
email_adr_00.txt
email_adr_01.txt
email_adr_02.txt
email_adr_03.txt
email_adr_04.txt
email_adr_05.txt
email_adr_06.txt
email_adr_07.txt
email_adr_10.txt
email_adr_11.txt
email_adr_12.txt
email_adr_20.txt
email_adr_21.txt
email_adr_22.txt
email_adr_23.txt
email_adr_24.txt
email_adr_25.txt
email_adr_26.txt
email_adr_27.txt
email_adr_28.txt
email_adr_29.txt
invalid_email_adr_10.txt
invalid_email_adr_11.txt
invalid_email_adr_12.txt
invalid_email_adr_29.txt
invalid_email_adr_30.txt
invalid_email_adr_31.txt
invalid_email_adr_32.txt
invalid_email_adr_33.txt
invalid_email_adr_34.txt
invalid_email_adr_35.txt
invalid_email_adr_36.txt
vssver2.scc
vssver2.scc
Json
input
_utf16_json_ex01.json.txt
_utf16_json_ex01.txt
_utf16_json_ex02.json.txt
_utf16_json_ex02.txt
_utf16_json_ex03.json.txt
_utf16_json_ex04.json.txt
_utf16_json_ex05.json.txt
_utf16_json_ex06.json.txt
_utf16_json_ex09.json.txt
_utf16_json_ex10.json.txt
_utf16_json_ex11.json.txt
_utf16_json_ex20.json.txt
_utf16_json_ex21.json.txt
_utf16_json_ex40.json.txt
_utf16BE_json_ex01.json.txt
_utf16BE_json_ex01.txt
_utf16BE_json_ex02.json.txt
_utf16BE_json_ex02.txt
_utf16BE_json_ex03.json.txt
_utf16BE_json_ex04.json.txt
_utf16BE_json_ex05.json.txt
_utf16BE_json_ex06.json.txt
_utf16BE_json_ex09.json.txt
_utf16BE_json_ex10.json.txt
_utf16BE_json_ex11.json.txt
_utf16BE_json_ex20.json.txt
_utf16BE_json_ex21.json.txt
_utf16BE_json_ex40.json.txt
cmdline_json.bat
json_ex01.json.txt
json_ex02.json.txt
json_ex02.txt
json_ex03.json.txt
json_ex04.json.txt
json_ex05.json.txt
json_ex06.json.txt
json_ex07.json.txt
json_ex08.json.txt
json_ex09.json.txt
json_ex10.json.txt
json_ex11.json.txt
json_ex20.json.txt
json_ex21.json.txt
json_ex40.json.txt
vssver2.scc
json.cs
json_check.cs
json_check_peg.txt
json_fast.cs
json_fast_peg.txt
json_tree.cs
json_tree_peg.txt
peg_template
BER_peg.txt
vssver2.scc
vssver2.scc
mssccprj.scc
PEG Samples.csproj
PEG Samples.csproj.user
PegGenerator
input
BER_peg.txt
BERTree_peg.txt
C#
BER.cs
BERTree.cs
calc0_direct.cs
calc0_tree.cs
IntSum.cs
python_2_5_2_i.cs
TestPeg.cs
C_KernighanRitchie2_peg.txt
calc0_direct_peg.txt
calc0_tree_peg.txt
CSharp3_peg.txt
CSharp3Fast_peg.txt
email_rfc2821_peg.txt
json_check_peg.txt
json_fast_peg.txt
json_tree_peg.txt
python_2_5_2_peg.txt
TestCases
C#
.cs
calc0 direct.cs
calc0_direct .cs
calc0_direct.cs
vssver2.scc
calc0_direct_GrammarNameMissing_peg.txt
calc0_direct_NameAttributeHasLowerCase_peg.txt
calc0_direct_NameAttributeHasWrongCase_peg.txt
calc0_direct_test01_peg.txt
vssver2.scc
TestPeg.txt
vssver2.scc
PegCSharpGenerator.cs
PegGrammarParser.cs
PegParserGenerator.cs
vssver2.scc
Properties
AssemblyInfo.cs
vssver2.scc
python_2_5_2
input
adwords
awapi_python_samples_1.0.0
src
add_ad_group.py
add_campaign.py
add_image_ad.py
add_keyword.py
add_local_business_ad.py
add_text_ad.py
add_website.py
check_keyword_traffic.py
delete_text_ad.py
estimate_keyword.py
get_account_info.py
get_all_ad_groups.py
get_all_ads.py
get_all_campaigns.py
get_all_criteria.py
get_api_usage.py
get_client_accounts.py
get_keyword_variations.py
get_sites_by_topics.py
schedule_report.py
decoratorators_01
fibo.py
fortune.txt
indent_test_01.txt
interactive_01.py
interactive_02.py
interactive_03.py
interactive_05.py
interactive_06.py
interactive_07.py
interactive_08.py
interactive_09.py
interactive_10.py
interactive_11.py
interactive_12.py
interactive_13.py
interactive_14.py
interactive_15.py
interactive_16.py
interactive_17.py
interactive_18.py
interactive_19.py
literal_01.py
python_class.py
python_func.py
simple_baby.py
simple_celsius.py
simple_fortune.py
simple_letters.py
simple_pyprint.py
simple_strfile.py
simple_tabview.py
string_concat.py
string_test_01.txt
python_2_5_2_i.cs
python_2_5_2_peg.txt
SamplesTester.cs
vssver2.scc
Problems
problem_list.txt
Sample PEG Console Parser
PEG Console Parser
input
json_ex01.json.txt
json_tree.cs
Properties
AssemblyInfo.cs
Sample PEG Console Parser.csproj
Sample PEG Console Parser.csproj.user
SamplePegConsoleParser.cs
Sample PEG Console Parser.sln
vssver2.scc
peg_grammarexplorer_submission.zip
PEG_GrammarExplorer_Submission
PEG_GrammerExplorer.htm
PEG_GrammerExplorer.jpg
PEG_GrammerExplorer.zip
{ "