寻找一个完整的Delphi(对象pascal)语法 [英] Looking for a Complete Delphi (object pascal) syntax
问题描述
尽管它看起来很广泛,但仍然存在错误,我确定缺少部分(特别是在.NET语法中)。所以我问SO德尔福社区。您有任何信息,还是可以纠正错误?作为回报,我向社区提供了完整的语法。它可能会节省你一些时间;-)。
将来,我喜欢为其他语言(像C#/ C ++ / Java)这样做。
我已经给出了语法描述: 我的语法sofar 。或者如果您喜欢文字版本。 (XHTML是从文本版本生成的)。
请注意,语法集中在语法部分,因为词法部分并不是一个问题。 >
更新
我有一个新版本的Delphi语法。 html版本。它包括2009版本的版本。棱镜的扩展仍然在待办事项列表中。我不知道我是否要把它们放在一起。
对于真正的纯粹主义者,它还包含完整的汇编代码(不支持完整的100%的英特尔集,但只有少数说明错过。)
尝试这样: DGrok - Delphi语法
I need a complete Object Pascal syntax (preferably Delphi 2009). Some of the syntax is given by the help files, but not all information is provided. So I started collecting loose bits of information. Recently I added these to a more or less complete syntax description (EBNF like).
Although it looks extensive, there are still bugs and I'm sure parts are missing (specially in the .NET syntax). So I'm asking the SO Delphi community. Do you have any information or can you correct the errors? In return I provide the complete syntax to the community. It probably saves you some time ;-). In the future, I like to do the same for other languages (Like C#/C++/Java).
The syntax description I already have is given: My Syntax sofar. Or if you like a Text version. (The XHTML is generated from the text version).
Please note that the syntax focusses on the syntactical part, because the lexical part is not really a problem.
Update
I have a new version of the Delphi Syntax. html version. It includes al versions including 2009. Prism extentions are still on the todo list. And I'm not sure if I'm going to keep them together.
For the real purists, it also contains the full assembler code (which does not support the full 100% of the intel set but only a few instructions are missed.).
Try this: DGrok - Delphi grammar
这篇关于寻找一个完整的Delphi(对象pascal)语法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!