Click here to Skip to main content
15,891,943 members
Articles / Programming Languages / C++

Tokenizer and analyzer package supporting precedence prioritized rules

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
1 Jan 20023 min read 182.5K   2.8K   54  
A library allowing you to conveniently build a custom tokenizer and analyzer supporting precedence priorized rules
; CLW file contains information for the MFC ClassWizard

[General Info]
Version=1
LastClass=CGrammarIDEDoc
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "grammaride.h"
LastPage=0

ClassCount=10
Class1=CGrammarIDEApp
Class2=CAboutDlg
Class3=CGrammarIDEDoc
Class4=CGrammarIDEView
Class5=CLeftView
Class6=CltrItemTreeWnd
Class7=CMainFrame
Class8=CPaneEditorWnd
Class9=CpropsItemGrammar

ResourceCount=7
Resource1=IDD_EVALUATE (English (U.S.))
Resource2=IDR_CONTEXT (English (U.S.))
Resource3=IDD_GRAMMAR_PROPS (English (U.S.))
Resource4=IDD_ABOUTBOX (English (U.S.))
Resource5=IDD_EDITOR_PANE (English (U.S.))
Resource6=IDR_MAINFRAME (English (U.S.))
Class10=CDlgProperties
Resource7=IDD_PROPERTIES (English (U.S.))

[CLS:CGrammarIDEApp]
Type=0
BaseClass=CWinApp
HeaderFile=grammarIDE.h
ImplementationFile=grammarIDE.cpp
LastObject=ID_OPTIONS_PTREEVISIBLE
Filter=N
VirtualFilter=AC

[CLS:CAboutDlg]
Type=0
BaseClass=CDialog
HeaderFile=grammarIDE.cpp
ImplementationFile=grammarIDE.cpp
LastObject=CAboutDlg

[CLS:CGrammarIDEDoc]
Type=0
BaseClass=CDocument
HeaderFile=grammarIDEDoc.h
ImplementationFile=grammarIDEDoc.cpp
LastObject=CGrammarIDEDoc
Filter=N
VirtualFilter=DC

[CLS:CGrammarIDEView]
Type=0
BaseClass=CView
HeaderFile=grammarIDEView.h
ImplementationFile=grammarIDEView.cpp
LastObject=CGrammarIDEView
Filter=C
VirtualFilter=VWC

[CLS:CLeftView]
Type=0
BaseClass=CTreeView
HeaderFile=LeftView.h
ImplementationFile=LeftView.cpp
LastObject=ID_LTRCONTEXT_SHOWPROPERTIES
Filter=W
VirtualFilter=VWC

[CLS:CltrItemTreeWnd]
Type=0
BaseClass=CWnd
HeaderFile=ltrItemTreeWnd.h
ImplementationFile=ltrItemTreeWnd.cpp
LastObject=CltrItemTreeWnd
Filter=W
VirtualFilter=WC

[CLS:CMainFrame]
Type=0
BaseClass=CFrameWnd
HeaderFile=MainFrm.h
ImplementationFile=MainFrm.cpp
LastObject=CMainFrame

[CLS:CPaneEditorWnd]
Type=0
BaseClass=CDialog
HeaderFile=PaneEditorWnd.h
ImplementationFile=PaneEditorWnd.cpp
LastObject=CPaneEditorWnd
Filter=D
VirtualFilter=dWC

[CLS:CpropsItemGrammar]
Type=0
BaseClass=CDialog
HeaderFile=propsItemGrammar.h
ImplementationFile=propsItemGrammar.cpp
LastObject=CpropsItemGrammar

[DLG:IDD_ABOUTBOX]
Type=1
Class=CAboutDlg

[MNU:IDR_MAINFRAME (English (U.S.))]
Type=1
Class=CGrammarIDEApp
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_SAVE
Command4=ID_FILE_SAVE_AS
Command5=ID_FILE_MRU_FILE1
Command6=ID_APP_EXIT
Command7=ID_EDIT_UNDO
Command8=ID_EDIT_CUT
Command9=ID_EDIT_COPY
Command10=ID_EDIT_PASTE
Command11=ID_EDIT_RENUMBER_IDS_STRICT
Command12=ID_EDIT_RENUMBER_IDS
Command13=ID_VIEW_TOOLBAR
Command14=ID_VIEW_STATUS_BAR
Command15=ID_PARSE_REPARSE
Command16=ID_VIEW_EVALUATION
Command17=ID_OPTIONS_PTREEVISIBLE
Command18=ID_APP_ABOUT
CommandCount=18

[TB:IDR_MAINFRAME (English (U.S.))]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_SAVE
Command4=ID_EDIT_CUT
Command5=ID_EDIT_COPY
Command6=ID_EDIT_PASTE
Command7=ID_FILE_PRINT
Command8=ID_APP_ABOUT
CommandCount=8

[ACL:IDR_MAINFRAME (English (U.S.))]
Type=1
Class=?
Command1=ID_EDIT_COPY
Command2=ID_FILE_NEW
Command3=ID_FILE_OPEN
Command4=ID_EDIT_RENUMBER_IDS
Command5=ID_EDIT_RENUMBER_IDS_STRICT
Command6=ID_FILE_SAVE
Command7=ID_EDIT_PASTE
Command8=ID_EDIT_UNDO
Command9=ID_EDIT_CUT
Command10=ID_VIEW_EVALUATION
Command11=ID_NEXT_PANE
Command12=ID_PREV_PANE
Command13=ID_PARSE_REPARSE
Command14=ID_EDIT_COPY
Command15=ID_EDIT_PASTE
Command16=ID_EDIT_CUT
Command17=ID_EDIT_UNDO
CommandCount=17

[DLG:IDD_ABOUTBOX (English (U.S.))]
Type=1
Class=?
ControlCount=4
Control1=IDC_STATIC,static,1342177283
Control2=IDC_STATIC,static,1342308480
Control3=IDOK,button,1342373889
Control4=IDC_STATIC,static,1342308352

[DLG:IDD_EVALUATE (English (U.S.))]
Type=1
Class=?
ControlCount=12
Control1=IDC_TREEWND_BORDER,static,1342177287
Control2=IDC_STATIC,button,1342177287
Control3=IDC_EVAL_SOURCE,edit,1352728772
Control4=IDC_EVALUATE,button,1342242816
Control5=IDCANCEL,button,1342242816
Control6=IDC_RULE_TO_EVAL,combobox,1344340227
Control7=IDC_STATIC,static,1342308352
Control8=IDC_REBALANCE,button,1342242816
Control9=IDC_STATIC,static,1342308352
Control10=IDC_STATIC,static,1342308352
Control11=IDC_TOKENIZING_MSEC,static,1342308352
Control12=IDC_ANALYZING_MSEC,static,1342308352

[CLS:CDlgProperties]
Type=0
HeaderFile=DlgProperties.h
ImplementationFile=DlgProperties.cpp
BaseClass=CDialog
Filter=D
LastObject=CDlgProperties
VirtualFilter=dWC

[MNU:IDR_CONTEXT (English (U.S.))]
Type=1
Class=?
Command1=ID_LTRCONTEXT_EXPAND
Command2=ID_LTRCONTEXT_COLLAPSE
Command3=ID_LTRCONTEXT_SHOWPROPERTIES
Command4=ID_LTRCONTEXT_EXPAND
Command5=ID_LTRCONTEXT_COLLAPSE
Command6=ID_LTRCONTEXT_SHOWPROPERTIES
Command7=ID_LTRCONTEXT_SHOWRAWTOKENSTREAM
CommandCount=7

[DLG:IDD_GRAMMAR_PROPS (English (U.S.))]
Type=1
Class=CpropsItemGrammar
ControlCount=0

[DLG:IDD_EDITOR_PANE (English (U.S.))]
Type=1
Class=CPaneEditorWnd
ControlCount=1
Control1=IDC_RICHEDIT,RichEdit20A,1345392836

[DLG:IDD_PROPERTIES (English (U.S.))]
Type=1
Class=CDlgProperties
ControlCount=2
Control1=IDOK,button,1342242817
Control2=IDC_PROPERTIES,edit,1342245060

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions