AnyDSL是一个领域特定类库快速开发框架。
示例代码:
#!/bin/bashset -euDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"PROJECT_VIM="${DIR}"/../vim/.project.vimecho content of \".project.vim\":cat $PROJECT_VIMecholn -sv $PROJECT_VIM "${DIR}"/../impala/src/ln -sv $PROJECT_VIM "${DIR}"/../thorin/src/echoecho "include this in your \"~¸vimrc\" to automatically source the \".project.vim\":"echo "if filereadable(\".project.vim\")"echo " source .project.vim"echo "endif"
评论