Lex/Yacc for C#?

前端 未结 12 1871
隐瞒了意图╮
隐瞒了意图╮ 2020-11-29 06:21

Actually, maybe not full-blown Lex/Yacc. I\'m implementing a command-interpreter front-end to administer a webapp. I\'m looking for something that\'ll take a grammar definit

12条回答
  •  再見小時候
    2020-11-29 06:33

    I'm not sure Lex/Yacc will be of any help. You'll just need a basic tokenizer and an interpreter which are faster to write by hand. If you're still into parsing route see Irony.

    As a sidenote: have you considered PowerShell and its commandlets?

提交回复
热议问题