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

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

  •  
  •   gainsurier · 2018 年 9 月 29 日 · 1022 次点击
    这是一个创建于 2748 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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   ·   Solana   ·   3350 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 13:17 · PVG 21:17 · LAX 06:17 · JFK 09:17
    ♥ Do have faith in what you're doing.