シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ
- C製
- Doxygen, Moinmoinなどと連携可能
- ブロック図、クラス図、ネットワーク図など
| package bm | |
| import ( | |
| "testing" | |
| ) | |
| var mb = map[string]bool{ | |
| "alpha": true, | |
| "beta": true, | |
| "gamma": true, |
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "os" | |
| ) | |
| var usage = `Usage argtest [Globals] <Command> [Options] | |
| Commands: |
シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ
| // file: plugins/hello/hello.go | |
| // $ go build -o libhello.so -buildmode=c-shared hello.go | |
| package main | |
| import "C" | |
| import ( | |
| "log" | |
| ) |
| #!/bin/sh | |
| set -e | |
| mkdir -p target | |
| mkdir -p deps | |
| git clone https://github.com/rust-lang/regex deps/regex | |
| git clone https://github.com/rust-lang/semver deps/semver | |
| git clone https://github.com/dguo/strsim-rs deps/strsim-rs |
| package main | |
| import ( | |
| "fmt" | |
| "github.com/typester/go-pit" | |
| "io/ioutil" | |
| "log" | |
| "net" | |
| "net/http" | |
| ) |
| hnakamur@ubuntu:~/execve_env_copy$ gcc -O3 env_copy_test.c | |
| hnakamur@ubuntu:~/execve_env_copy$ rm env_copy_test | |
| hnakamur@ubuntu:~/execve_env_copy$ ./a.out | |
| type_a: 0.750000 seconds | |
| type_b: 0.730000 seconds | |
| type_c: 0.640000 seconds | |
| type_d: 0.860000 seconds | |
| type_e: 0.760000 seconds | |
| hnakamur@ubuntu:~/execve_env_copy$ ./a.out | |
| type_a: 0.750000 seconds |