Fortran的23种设计模式

BSD-3 fpm mdbook

《Fortran的23种设计模式》是一份Fortran面向对象编程中文实用教程。

项目描述
版本:0.3.0
作者:ZUO Zhihua
网页:https://zoziha.github.io/Fortran-Design-Patterns/
版权:Copyright (c) 2021~2024 zoziha

开始

软件依赖

获取代码

git clone https://github.com/zoziha/Fortran-Design-Patterns.git
cd Fortran-Design-Patterns

使用fortran-lang/fpm构建代码

Fortran包管理器(fpm)是Fortran-lang社区驱动、为Fortran生态设计的包管理器和代码构建器。 你可以通过提供的fpm.toml构建代码:

fpm test --list  # 获取已提供的设计模式示例
fpm test <pattern_name, see `fpm.toml` or test list>

使用mdbook构建文档

mdBook是一个从Markdown文件创建现代在线书籍的实用程序。 你可以通过提供的book.toml文件来构建《Fortran的23种设计模式》。

cd doc && mdbook build

链接

开源许可证

BSD 3-Clause License

Copyright (c) 2021~2024, ZUO Zhihua All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.