On Wednesday, 13 December 2017 12:40:18 UTC, erfang...@gmail.com wrote:
>
> How can write a compiler Using C as test.exe then can use from test.exe 
> compiler any where... so can write a input file like hello world 
> application and generate executable file using test.exe.
>
> the compiler is told what to target so rather than translate 

a = a + b
into e.g.
ADD R0, R0, R1  # the ASM for architecture A
it instead translates it to:
ADS R0,R1 # ASM for architecture B

That's all it is doing in the end, translating text from one form into 
another



-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to