Description: The compiler part there are four main functions:
1, morphology analysis
Prepare a read words process, from the input source program, identify each independent meaning of words, namely basic reserved words, identifier, constant, operators, separator five categories. And in turn output each word internal coding and word sign their own value. (meet mistake can show "Error", and then skip the wrong part continue to display).
2, grammar analysis of recursive descent analysis
Recursive descent analysis is the premise of grammar necessary for LL (1) grammar, this function to test function, has been given grammar, input a string, verify whether to belong to this method sentences can.
3, grammar analysis of LL (1) the forecast analysis
This function to test function, has been given grammar, to any input string analysis verify whether to belong to this method sentences can.
4, reverse polish style formation and calculation
From the keyboard input an expression string (dressed arithmetic
To Search:
File list (Check if you may need any files):
编译器\Mycompiler.sln
......\Mycompiler.suo
......\..notepad\About.cs
......\.........\About.Designer.cs
......\.........\About.resx
......\.........\bin\Debug\Mycompiler.application
......\.........\...\.....\Mycompiler.exe
......\.........\...\.....\Mycompiler.exe.manifest
......\.........\...\.....\Mycompiler.pdb
......\.........\...\.....\Mycompiler.vshost.application
......\.........\...\.....\Mycompiler.vshost.exe
......\.........\...\.....\Mycompiler.vshost.exe.manifest
......\.........\...\.....\Mynotepad.vshost.application
......\.........\...\.....\Mynotepad.vshost.exe.manifest
......\.........\ClassDiagram1.cd
......\.........\DEUS EX.ico
......\.........\Folder\GrammarLL.cs
......\.........\......\GrammarRD.cs
......\.........\......\LPascal.cs
......\.........\......\RPN.cs
......\.........\Form1.cs
......\.........\Form1.Designer.cs
......\.........\Form1.resx
......\.........\Form3.cs
......\.........\Form3.Designer.cs
......\.........\Form3.resx
......\.........\Form4.cs
......\.........\Form4.Designer.cs
......\.........\Form4.resx
......\.........\Goto.cs
......\.........\Goto.resx
......\.........\Mycompiler.csproj
......\.........\Mycompiler.csproj.user
......\.........\Mynotepad_TemporaryKey.pfx
......\.........\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
......\.........\...\.....\GenerateResource-ResGen.read.1.tlog
......\.........\...\.....\GenerateResource-ResGen.read.4.tlog
......\.........\...\.....\GenerateResource-ResGen.write.1.tlog
......\.........\...\.....\GenerateResource-ResGen.write.4.tlog
......\.........\...\.....\Mycompiler.About.resources
......\.........\...\.....\Mycompiler.application
......\.........\...\.....\Mycompiler.csproj.FileListAbsolute.txt
......\.........\...\.....\Mycompiler.exe
......\.........\...\.....\Mycompiler.exe.manifest
......\.........\...\.....\Mycompiler.Form3.resources
......\.........\...\.....\Mycompiler.Form4.resources
......\.........\...\.....\Mycompiler.FrmMain.resources
......\.........\...\.....\Mycompiler.Goto.resources
......\.........\...\.....\Mycompiler.pdb
......\.........\...\.....\Mycompiler.Properties.Resources.resources
......\.........\...\.....\Mynotepad.About.resources
......\.........\...\.....\Mynotepad.csproj.FileListAbsolute.txt
......\.........\...\.....\Mynotepad.Form3.resources
......\.........\...\.....\Mynotepad.Form4.resources
......\.........\...\.....\Mynotepad.FrmMain.resources
......\.........\...\.....\Mynotepad.Goto.resources
......\.........\...\.....\TempPE\Properties.Resources.Designer.cs.dll
......\.........\Properties\AssemblyInfo.cs
......\.........\..........\Resources.Designer.cs
......\.........\..........\Resources.resx
......\.........\..........\Settings.Designer.cs
......\.........\..........\Settings.settings
......\编译器.txt
......\Mynotepad\obj\Debug\TempPE
......\.........\bin\Debug
......\.........\obj\Debug
......\.........\bin
......\.........\Folder
......\.........\obj
......\.........\Properties
......\Mynotepad
编译器