C#中的上下文无关语法(CFG)程序 [英] Context free Grammar(CFG) program in c#

查看:96
本文介绍了C#中的上下文无关语法(CFG)程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是,我想在自动机上演示我的演示文稿,以便我需要简单的现实生活示例,该示例的自动机(图表)和CFG上的C#程序-上下文无关的语法.如果您有,请在这里张贴,我将非常感谢您.


注意:我需要一个简单而不复杂的程序.

My problem is that,i want to present my presentation on automata so that i need simple real life example, automata (Diagram) of that example and C# program on CFG - context free grammar. if you have so please kindly posted here i will very thanks full to you.


Note: i need simple program not complex.

推荐答案

尝试
解析C#3.0第1部分的表达式语法支持-PEG Lib和Parser Generator [ C#是否与上下文无关? [ ^ ]
来自参考链接
ftp://ftp.research.microsoft.com/pub/tr/tr-2003-32.pdf [ ^ ]
Try
Parsing Expression Grammar Support for C# 3.0 Part 1 - PEG Lib and Parser Generator[^]
read the thread from this question
Is C# context-free? [^]
from reference link
ftp://ftp.research.microsoft.com/pub/tr/tr-2003-32.pdf[^]


这篇关于C#中的上下文无关语法(CFG)程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆