Skip to content

Commit

Permalink
[update] README*.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ShinobuAmasaki committed Aug 14, 2024
1 parent 03469f5 commit 5b5d569
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,11 @@ block
end block
```

### Notes

- `gfortran` on Windows and macOS may crash if an allocatable character is used in an OpenMP parallel block.
- If you are using the command line tools in PowerShell on Windows, the system locale shall be UTF-8.

## To do

The following features are planned to be implemented in the future:
Expand Down
8 changes: 5 additions & 3 deletions ford/README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,6 @@ pure function function__regex(pattern, text) result(res)
character(:), allocatable :: res
```

## Examples

Note that in the current version, these APIs can be used in `do` loops and `do concurrent` loops, but not in OpenMP parallel blocks.

### UTF-8 String matching

Expand All @@ -202,6 +199,11 @@ block
end block
```

### Notes

- `gfortran` on Windows and macOC may crash if an allocatable character is used in an OpenMP parallel block.
- If you are using the command line tools in PowerShell on Windows, the system locale shall be UTF-8.

## To do

- Add Unicode escape sequence `\p{...}`
Expand Down
5 changes: 5 additions & 0 deletions ford/README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@ end block

この例では`length`変数にバイト長が格納され、この場合は10個の3バイト文字に一致したので、その長さは30となります。

### 注意

- WindowおよびmacOS環境の`gfortran`では、OpenMPの並列ブロックの中で割り付け可能文字列型変数を使用すると、セグメンテーション違反などでプログラムが停止する可能性があります。
- コマンドラインツール`forgex-cli`をWindows上のPowerShellで利用する場合、システムのロケールをUTF-8に変更する必要があります。

## To Do
- Unicodeエスケープシーケンス`\p{...}`の追加
- UTF-8において無効なバイトストリームへの対処
Expand Down

0 comments on commit 5b5d569

Please sign in to comment.