Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/linksplatform/csharptocpptranslator
A specific translator for LinksPlatform's libraries.
https://github.com/linksplatform/csharptocpptranslator
Last synced: about 2 months ago
JSON representation
A specific translator for LinksPlatform's libraries.
- Host: GitHub
- URL: https://github.com/linksplatform/csharptocpptranslator
- Owner: linksplatform
- License: unlicense
- Created: 2019-11-25T16:43:05.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-07-05T18:37:00.000Z (over 1 year ago)
- Last Synced: 2024-04-16T00:51:28.119Z (9 months ago)
- Language: C#
- Size: 180 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Actions Status](https://github.com/linksplatform/csharptocpptranslator/workflows/CI/badge.svg)](https://github.com/linksplatform/csharptocpptranslator/actions?workflow=CI)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/7a113c49b6124cbb8464b64ae2595878)](https://www.codacy.com/manual/drakonard/CSharpToCppTranslator?utm_source=github.com&utm_medium=referral&utm_content=linksplatform/CSharpToCppTranslator&utm_campaign=Badge_Grade)
[![CodeFactor](https://www.codefactor.io/repository/github/linksplatform/csharptocpptranslator/badge)](https://www.codefactor.io/repository/github/linksplatform/csharptocpptranslator)# CSharpToCppTranslator
A specific translator for LinksPlatform's libraries.## Example
`translate.sh` script is useful when Translator fails to translate the whole directory in one go.Translate `.cs` to `.h`:
```sh
export BASE_PATH=/home/konard/Archive/Code/Links/Numbers/csharp/Platform.Numbers; find "$BASE_PATH" -type f | grep -v .csproj | sed -e 's/\.cs$//' | xargs -n1 ./translate.sh "h" "s|csharp|cpp|"
```Translate `.cs` to `.cpp`:
```sh
export BASE_PATH=/home/konard/Archive/Code/Links/Numbers/csharp/Platform.Numbers.Tests; find "$BASE_PATH" -type f | grep -v .csproj | sed -e 's/\.cs$//' | xargs -n1 ./translate.sh "cpp" "s|csharp|cpp|"
```
or
```sh
export BASE_PATH=/home/konard/Archive/Code/Links/Numbers/csharp/Platform.Numbers.Benchmarks; find "$BASE_PATH" -type f | grep -v .csproj | sed -e 's/\.cs$//' | xargs -n1 ./translate.sh "cpp" "s|csharp|cpp|"
```