https://github.com/zoziha/fortran-design-patterns
Fortran Design Patterns.(Fortran语言设计模式)
https://github.com/zoziha/fortran-design-patterns
chinese design-patterns fortran oop
Last synced: 2 months ago
JSON representation
Fortran Design Patterns.(Fortran语言设计模式)
- Host: GitHub
- URL: https://github.com/zoziha/fortran-design-patterns
- Owner: zoziha
- License: bsd-3-clause
- Created: 2021-10-14T02:50:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-25T02:36:03.000Z (9 months ago)
- Last Synced: 2024-12-30T09:37:08.852Z (4 months ago)
- Topics: chinese, design-patterns, fortran, oop
- Language: Fortran
- Homepage: https://zoziha.github.io/Fortran-Design-Patterns/
- Size: 1.84 MB
- Stars: 16
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fortran的23种设计模式
[](LICENSE)
[](https://github.com/zoziha/Fortran-Design-Patterns/actions)
[](https://github.com/zoziha/Fortran-Design-Patterns/actions)《Fortran的23种设计模式》是一份Fortran面向对象编程中文实用教程。
|项目|描述|
|:-:|:-:|
|版本:|0.3.0|
|作者:|ZUO Zhihua|
|网页:|https://zoziha.github.io/Fortran-Design-Patterns/|
|版权:|Copyright (c) 2021~2024 zoziha|## 开始
### 软件依赖
- Git
- [fortran-lang/fpm](https://github.com/fortran-lang/fpm)
- [Rust](https://www.rust-lang.org/zh-CN/)
- [mdbook](https://github.com/rust-lang/mdBook)### 获取代码
```sh
git clone https://github.com/zoziha/Fortran-Design-Patterns.git
cd Fortran-Design-Patterns
```### 使用[fortran-lang/fpm](https://github.com/fortran-lang/fpm)构建代码
Fortran包管理器(fpm)是Fortran-lang社区驱动、为Fortran生态设计的包管理器和代码构建器。
你可以通过提供的`fpm.toml`构建代码:```sh
fpm test --list # 获取已提供的设计模式示例
fpm test
```### 使用[mdbook](https://github.com/rust-lang/mdBook)构建文档
mdBook是一个从Markdown文件创建现代在线书籍的实用程序。
你可以通过提供的`book.toml`文件来构建《Fortran的23种设计模式》。```sh
cd doc && mdbook build
```### 链接
- [设计模式](https://refactoringguru.cn/design-patterns)
- [farhanjk/FortranPatterns](https://github.com/farhanjk/FortranPatterns)