推广个人项目 clidoc,与命令行程序说明( synopsis of command-line program)相关

2015-05-30 18:29:21 +08:00
 haoxun

项目地址: https://github.com/clidoc/clidoc
项目状态:v0.2-rc-3,基本已经能用。

功能上与 docopt 类似,是用来自动处理 shell 传入参数的。与 docopt 的区别在于

希望各位可以帮忙做文档的 review(英文捉急),指出问题。

以下是 README.md 的开头,直接搬运过来:

clidoc analyses the synopsis of command-line program, then generates code of specific programming language that could be used to process shell inputed values.

Workflow of clidoc is as follow:

# front end.
synopsis --> | synopsis analyser | --> AST

# back end.
        | cpp11 codegen  |
AST --> | python codegen | --> argument processing code
        | rust codegen   |
        | ...            |

where

As you can see, clidoc plans to support codegen for multiple programming languages. Currently in v0.2, clidoc supports codegen of programming language C++11 and Python 2/3.

1795 次点击
所在节点    分享创造
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/194956

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX