Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rokhan/gocpp
Quick and dirty experimentations to parse go code and generate equivalent c++ code
https://github.com/rokhan/gocpp
compiler cpp golang
Last synced: 10 days ago
JSON representation
Quick and dirty experimentations to parse go code and generate equivalent c++ code
- Host: GitHub
- URL: https://github.com/rokhan/gocpp
- Owner: Rokhan
- Created: 2018-05-20T19:31:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-11T03:01:40.000Z (7 months ago)
- Last Synced: 2024-04-12T10:13:26.778Z (7 months ago)
- Topics: compiler, cpp, golang
- Language: C++
- Homepage:
- Size: 356 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gocpp
Quick and dirty experimentations to parse go code and generate equivalent c++ code.Nothing really useful practically at the moment as a lots of things are still mocked and the garbage collector is not implemented.
The compiler code is in [cmd\main.go](cmd/main.go)
The compiler is tested with go files in [tests/](./tests/) directory and the output is in [generated/](./generated/) directory.The file [results.md](./results.md) show the status of each test and links to generated code.
Use command "make clean && make -j8 -k; make doc" to build [results.md](./results.md)