bf
所属分类:模式识别(视觉/语音等)
开发工具:C#
文件大小:23KB
下载次数:0
上传日期:2020-08-19 22:49:17
上 传 者:
sh-1993
说明: 一系列视频,展示如何为大脑编写解释器和编译器#$!“语言。最终编译器ge...
(A series of videos showing how to write an interpreter and compiler for the Brain#$!" language. The final compiler generates .net IL code which can be debugged from an IDE such as VS Code.)
文件列表:
bf_to_csharp (0, 2020-08-20)
bf_to_csharp\Error.cs (287, 2020-08-20)
bf_to_csharp\ILGenerator.cs (13948, 2020-08-20)
bf_to_csharp\Instructions (0, 2020-08-20)
bf_to_csharp\Instructions\Block.cs (670, 2020-08-20)
bf_to_csharp\Instructions\ConditionalJump.cs (340, 2020-08-20)
bf_to_csharp\Instructions\Decrease.cs (206, 2020-08-20)
bf_to_csharp\Instructions\IInstruction.cs (102, 2020-08-20)
bf_to_csharp\Instructions\Increase.cs (226, 2020-08-20)
bf_to_csharp\Instructions\IncreaseCell.cs (319, 2020-08-20)
bf_to_csharp\Instructions\Jump.cs (318, 2020-08-20)
bf_to_csharp\Instructions\Label.cs (296, 2020-08-20)
bf_to_csharp\Instructions\Move.cs (303, 2020-08-20)
bf_to_csharp\Instructions\MoveLeft.cs (206, 2020-08-20)
bf_to_csharp\Instructions\MoveRight.cs (228, 2020-08-20)
bf_to_csharp\Instructions\ReadFromConsole.cs (220, 2020-08-20)
bf_to_csharp\Instructions\WriteToConsole.cs (227, 2020-08-20)
bf_to_csharp\Location.cs (186, 2020-08-20)
bf_to_csharp\Optimiser.cs (3191, 2020-08-20)
bf_to_csharp\Program.cs (7538, 2020-08-20)
bf_to_csharp\Properties (0, 2020-08-20)
bf_to_csharp\Properties\launchSettings.json (159, 2020-08-20)
bf_to_csharp\bf.csproj (409, 2020-08-20)
bfi (0, 2020-08-20)
bfi\Program.cs (4381, 2020-08-20)
bfi\Tape.cs (1478, 2020-08-20)
bfi\bfi.csproj (170, 2020-08-20)
bfi\bfi.sln (1553, 2020-08-20)
samples (0, 2020-08-20)
samples\Echo (0, 2020-08-20)
samples\Echo\.vscode (0, 2020-08-20)
samples\Echo\.vscode\launch.json (1214, 2020-08-20)
samples\Echo\.vscode\settings.json (48, 2020-08-20)
samples\Echo\.vscode\tasks.json (717, 2020-08-20)
samples\Echo\Echo.bfproj (170, 2020-08-20)
samples\Echo\main.bf (76, 2020-08-20)
samples\HelloWorld (0, 2020-08-20)
... ...
# bf.net
## Episode Guide
+ Part 0 – This introduction
+ Part 1 – Writing a simple interpreter
+ Part 2 – Improving the interpreter
+ Part 3 – BF to CSharp compiler
+ Part 4 – Generating an exe
+ Part 5 – Adding a syntax tree
+ Part 6 – Basic Optimisation
+ Part 7 – Error reporting
+ Part 8 – Getting ready for IL code – lowering
+ Part 9 – Emitting IL Code (4 sections)
+ Part 10 – Plugging into dotnet run
+ Part 11 – Debugging Support in VSCode (2 sections)
## References
+ Immo Landwerth - Building a compiler - https://www.youtube.com/playlist?list=PLRA***hKI4OWNOSfS7EUu5GRAVmze1t2y
+ Sy Brand - Live Compiler Development with Cross-Platform Tooling - Sy Brand [ C++ on Sea 2020 ] - https://www.youtube.com/watch?v=Jw2n5QSul34&t=1785s
+ https://en.wikipedia.org/wiki/Esoteric_programming_language
+ [https://en.wikipedia.org/wiki/Brainf**k](https://en.wikipedia.org/wiki/Brain***)
近期下载者:
相关文件:
收藏者: