c++词法分析器。可以分析简单的输入字符串。希望对大家有帮助。
源代码在线查看: ll1文法.plg
Build Log
--------------------Configuration: LL1文法 - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\王明涛\LOCALS~1\Temp\RSP11A.tmp" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /FR"Debug/" /Fp"Debug/LL1文法.pch" /Yu"stdafx.h" /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
"C:\Documents and Settings\王明涛\桌面\重要\LL1文法\ClassPt.cpp"
"C:\Documents and Settings\王明涛\桌面\重要\LL1文法\CStack.cpp"
"C:\Documents and Settings\王明涛\桌面\重要\LL1文法\LL1文法.cpp"
"C:\Documents and Settings\王明涛\桌面\重要\LL1文法\LL1文法Dlg.cpp"
]
Creating command line "cl.exe @"C:\DOCUME~1\王明涛\LOCALS~1\Temp\RSP11A.tmp""
Creating temporary file "C:\DOCUME~1\王明涛\LOCALS~1\Temp\RSP11B.tmp" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /FR"Debug/" /Fp"Debug/LL1文法.pch" /Yc"stdafx.h" /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
"C:\Documents and Settings\王明涛\桌面\重要\LL1文法\StdAfx.cpp"
]
Creating command line "cl.exe @"C:\DOCUME~1\王明涛\LOCALS~1\Temp\RSP11B.tmp""
Creating temporary file "C:\DOCUME~1\王明涛\LOCALS~1\Temp\RSP11C.tmp" with contents
[
/nologo /subsystem:windows /incremental:yes /pdb:"Debug/LL1文法.pdb" /debug /machine:I386 /out:"Debug/LL1文法.exe" /pdbtype:sept
".\Debug\ClassPt.obj"
".\Debug\CStack.obj"
".\Debug\LL1文法.obj"
".\Debug\LL1文法Dlg.obj"
".\Debug\StdAfx.obj"
".\Debug\LL1文法.res"
]
Creating command line "link.exe @"C:\DOCUME~1\王明涛\LOCALS~1\Temp\RSP11C.tmp""
Output Window
Compiling...
StdAfx.cpp
Compiling...
ClassPt.cpp
CStack.cpp
LL1文法.cpp
LL1文法Dlg.cpp
Generating Code...
Linking...
Results
LL1文法.exe - 0 error(s), 0 warning(s)