You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Command line for checking in gcc - gcc -c one.c; gcc -c two.c ; gcc -o pr one.o two.o; ./pr
Result: 42
Command line for checking clang - clang -E two.c one.c. Result is like usually.
So, with little modifications of project - we can support a multiply C code transpilation, but now we will have one big single result Go code.
Example:
File
one.c
:File
head.h
:File
two.c
:Command line for checking in
gcc
-gcc -c one.c; gcc -c two.c ; gcc -o pr one.o two.o; ./pr
Result:
42
Command line for checking
clang
-clang -E two.c one.c
. Result is like usually.So, with little modifications of project - we can support a multiply C code transpilation, but now we will have one big single result Go code.
Reason:
It is need for transpilation of project https://www.cs.cmu.edu/~quake/triangle.html.
The text was updated successfully, but these errors were encountered: