这是一个自动识别代码片段所使用的编程语言的项目。 他非常简单,但比较有效。起码在我的项目中是这样。 现在他支持10种语言(详见支持语言列表)。如果你想 要支持更多的语言,只需要添加要支持的语言的特征 罢了。
如果我非常有空的话,我可能会维护一下他。
用法: 这个程序使用javascript实现,所以他仅仅是一个网 页罢了。你只需要在装有浏览器的任何电脑上,简单 的打开index.html即可。没有任何更多的需求。
如果你有任何问题,请联系 tianzhi0549@163.com.
谢谢!
This is a project that could detect by which programming language a snippet of code is written.It's very simple,but it works. At the very least it works very well in my project. Now it supports 10 languages(Please see the supported languages list). In fact,it can support more languages as long as you add features of other languages.
I could maintain it, if I have a lot of free time.
usage: The project is written by javascript. So you can use it as long as your computer have installed a browser(eg. IE,chrome,etc).You only need open index.html via your broswer and then I think you know what you should do next.There isn't more demand.
If you have any question,please contact me at the following e-mail address.
Thanks!
支持语言列表: Languages Supported by the project: C/C++ C# js py java jsp php asm asp vb