Skip to content
oldratlee edited this page Mar 3, 2013 · 2 revisions

下载

最新版本是0.1.0(2013-03-03),欢迎使用。

开源许可

Apache License 2.0

Copyright 2013 nanotemplate Team.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

运行环境

需要 JDK1.5+

Maven依赖

<project>
    <dependencies>
        <dependency>
            <groupId>com.oldratlee</groupId>
            <artifactId>nanotemplate</artifactId>
            <version>0.1.0</version>
        </dependency>
    </dependencies>
    <repositories>
        <repository>
            <id>metaframe-repository</id>
            <name>Metaframe Maven Repository</name>
            <url>http://metaframe.github.com/repo</url>
        </repository>
    </repositories>
<project>

直接把类文件拷贝到自己的工程中

因为实现很小,可以直接拷贝实现类文件。源码:
nanotemplate-0.1.0-sources.jar

直接使用Jar

Version 0.1.0

nanotemplate-0.1.0.jar
nanotemplate-0.1.0-sources.jar

历史版本

版本号 发布日期 二进制包 源码包 源工程包 Ticket记录
0.1.0 2013-03-03 0.1.0.jar 0.1.0-sources.jar 0.1.0.zip 0.1.0

变更记录

0.1.0(2013-03-03)

  1. 使用递归下降实现第一个版本
  2. 支持变量插入、if指令、for指令
  3. 方便对齐,独占一行的指令不会把空白输出

Clone this wiki locally