zoukankan      html  css  js  c++  java
  • Matlab 文件格式化/Matlab Source File Formattor

    由于需要使用到别人编写的Matlab代码文件,但是呢不同的人有不同的风格,有的写得就比较糟糕了。

    为了更好地理解代码的内容,一个比较美观的代码会让人身心愉悦。

    但是在网上并没有找到一个比较好的实现,此前到是找到一个使用Matlab的M文件来实现代码格式化的,设置还挺多的,但是我就是不喜欢(I'm Geek)。

    因此,用C++和正则写了一个简单的代码格式化小工具,MFormator。已经开源到Github上了。

    欢迎指教。


    I do quite a lot of works with Matlab. And chances are that, I shall read some others' code. It's a pity that not all the guys write code in a neat way. At the same time, it's easier for comprehension if the code is neatly presented. So it's of great importance to format the code.

    I've searched through the Internet, but is disappointed by the fact that there aren't many tools to achieve this goal. The only one I found is written in M-file. I'm a geek, and also a vim user.

    So I wrote a little command line tool named MFormator which is written in C++ with regex expression. And you can find it on the github.

    Please tell me if this tool help you Troy_Daniel@163.com.

  • 相关阅读:
    telnet linux 参数
    telnet服务 linux机器
    how to learn
    mysql关键字
    linux 下iptables配置详解
    C#调用开源图像识别类库tessnet2
    netty入门实例
    android布局属性详解
    安卓高手之路之ClassLoader(四)
    安卓高手之路之 GDI图形引擎篇
  • 原文地址:https://www.cnblogs.com/troy-daniel/p/MFormattor.html
Copyright © 2011-2022 走看看