声明、定义、表达式和语句的通用名称是什么?

发布于 2024-08-22 12:02:22 字数 27 浏览 9 评论 0原文

如果既定名称不存在,您可以建议什么名称?

If established name doesn't exist, what name you can suggest?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

旧情勿念 2024-08-29 12:02:23

您似乎已经了解标准名称是什么。你给出的四个已经被广泛使用,我会同意它们,除非你有一些相当具体的理由不这样做。当然,有些取决于您所谈论的语言“家族”。有些术语比其他术语使用更广泛。举例来说,如果您的受众是 Lisp 和类似语言的用户,“特殊形式”可能会有意义,但否则它可能会造成更多的混淆而不是澄清。

You already seem to have an idea of what the standard names are. The four you've given are widely enough used that I'd go along with them unless you have some fairly specific reason to do otherwise. Of course, some depends on what "family" of languages you're talking about. Some terms are more widely used than others. Just for example, "special form" will probably be meaningful if your audience is users of Lisp and similar languages, but otherwise it might do more to obfuscate than clarify.

从来不烧饼 2024-08-29 12:02:23

句法元素?不知道你在这里得到什么......

syntactic element? Not sure what you're getting at here...

×眷恋的温暖 2024-08-29 12:02:23

如果您正在谈论可能出现在正式语法(例如巴科斯-诺尔形式)的产生式左侧的事物,我认为您正在寻找的术语是 非终结符号

If you're talking about things that might occur on the left hand side of a production in a formal grammar such as Backus-Naur form, I think the term you're looking for is nonterminal symbol.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文