V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
gainsurier
V2EX  ›  问与答

cmake 文档中是使用了什么语言描述 cmake 语言

  •  
  •   gainsurier · 2018-09-29 15:02:32 +08:00 · 831 次点击
    这是一个创建于 2199 天前的主题,其中的信息可能已经有所发展或是发生改变。
    https://cmake.org/cmake/help/latest/manual/cmake-language.7.html

    最开始的 file 描述
    file ::= file_element*
    file_element ::= command_invocation line_ending |
    (bracket_comment|space)* line_ending
    line_ending ::= line_comment? newline
    space ::= <match '[ \t]+'>
    newline ::= <match '\n'>

    有点像上下文无关文法加上正则表达式

    找到了,是巴科斯范式(Backus – Naur form)
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2058 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 10:28 · PVG 18:28 · LAX 03:28 · JFK 06:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.