Questions tagged [compiling]

Questions about teaching the concept of 'compiling' source code into an executable program.

Filter by
Sorted by
Tagged with
3 votes
2 answers
122 views

How to teach hardware-software integration to new developers?

I'm having trouble succesfully teaching integration to trainee that are not from a computer science background. Basically they have a training of 3 months around C/C++/Python/Software Testing/...
0 votes
1 answer
66 views

Processing of arithmetic expressions, under both types of associativity [closed]

Request to vet the evaluation for given two grammars, handling arithmetic expressions, having two precedence classes of operators: addop= {+,-}, mulop = {*,/}, ...
0 votes
1 answer
42 views

C language tokenizer output for static integer array [closed]

Unable to find out how the C-language lexical analyzer would tokenize the declaration of a static array. Say, int i[3]= {1,2,3}; The lexical analyzer would need to differentiate between just an ...
1 vote
2 answers
148 views

Should an undergraduate course on Programming Languages precede or succeed the course on Compiler Construction?

I am an undergraduate CS student half way through my degree. I have started taking an online(Youtube) course on Programming Languages. The course contents include the following topics: First-class ...
1 vote
0 answers
54 views

Textbook recommendation for macros and assembler

I was going through GATE-CS questions, while solving I came across the following question here. Write short answers to the following: Which of the following macros can put a macro assembler into an ...
7 votes
2 answers
693 views

Book to substitute "Compilers: Principles, Techniques and Tools" by Ullman et. al. (popularly known as the red dragon book)

I am currently following the red dragon book: But most of the time, I have difficulty understanding the kinds of stuff in the book. Though the content is fine, and I end up asking questions on cs....
3 votes
0 answers
180 views

Is there any detailed video lecture series which uses “Compilers: Principles, Techniques and Tools” by Aho et al as the text book as a bible?

I am interested in learning Compiler Design , and from many resources I came to know that "The Dragon Book" is a good textbook. (Below are the two editions of the said textbook. [Red Dragon ...
2 votes
1 answer
565 views

Principles of Compiler Design v/s Compilers: Principles, Techniques and Tools by Aho, Ullman

Now for a student who is trying to master the subject of "Compiler Design" which book should he/she follow (written by Aho, Ullman)? 1) Principles of Compiler Design By Aho Ullman (1977) I ...
3 votes
2 answers
176 views

Any good beginner tutorials for learning LLVM

I think the https://llvm.org/docs/tutorial/index.html assumes you know too much. It's written in an unfamiliar language to me, OCaml, and they assume you know about lexers, parsers, AST. Any thorough ...
2 votes
1 answer
200 views

The theory of parsing, translation, and compiling, v.s. Compilers: Principles, Techniques, and Tools?

Alfred V. Aho, Jeffrey D. Ullman have written The theory of parsing, translation, and compiling. Volume 1 Parsing 1972 and Volume 2 Compiling 1973 Compilers: Principles, Techniques, and Tools 2ed ...
1 vote
2 answers
77 views

(FOSS) Application to show/explain compilation?

I'm looking for an application that I can compile live, in class to show the students that compilation takes time, but brings speed benefits in the end, whereas interpreted languages always take time, ...