Tagged Questions
4
votes
6answers
1k views
Is there a language that transcompiles to C with a better syntax? [closed]
CoffeeScript is a language with a very clean Ruby-like syntax that transcompiles to JavaScript. Does the same thing exists with C? Then writing more readable and as fast as original C programs would ...
4
votes
1answer
302 views
What would be the best way to learn about compilers, and executable formats? [closed]
I want to write my own compiler for my own language. Yes, it's going to be hard, and it will take long, but I think it will be worth it.
I have looked into OSDev.org, and read about executable ...
3
votes
1answer
482 views
What is the Ken Thompson Hack? [duplicate]
I read some stuff like cm bell labs but i couldn't get it all. How does it work really? What is the logic in that?
2
votes
5answers
261 views
How are operators organized in memory
How are operators organized/saved in the memory in context of a programming language. Are they procedures/functions saved somewhere and compilers just manipulate things to call these procs whenever ...
2
votes
4answers
294 views
What programs emit C++ code and pass it to mainstream compilers?
I suspect there're programs that instead of emitting machine code instead emit C++ code and then start a mainstream C++ compiler to compile it to machine code.
I can't find any notable examples ...
1
vote
5answers
3k views
How to write a very basic compiler [duplicate]
Possible Duplicate:
Best Online resources to learn about Compilers?
What would be the best way to learn about compilers, and executable formats?
Advanced compilers like gcc compile codes ...
0
votes
0answers
209 views
Steps in converting a grammar to LL(1) Grammar
I have the following question:
Convert the following grammar into an LL(1) grammar which recognises the same
language (you may assume that the grammar is unambiguous).
A -> int
A -> int + A
A ...