Good books for Interpreter and Compiler using C++? [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm planning to write a simple interpreter ( like TI-BASIC language for TI-89 ) or compiler ( C compiler ) using C++. I'm currently taking a course about programming languages, and learning the basic of BNF, EBNF. I wonder is it good enough to start on this project? In addition, could anyone know some good books about this area? Any feedback would be greatly appreciated.
Thanks,

The Dragon Book is a must read if you want to write a compiler.

Everyone I know rants and raves about Modern Compiler Construction in C, although the Java version usually gets more credit. However if you want a more C++ focused book you can't go wrong with Writing Compiler and Interpreters.

Related

Conversion of C++ to Fortran 90 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there a tool that converts C++ code into fortran? Please state any possible deficiency of the tool you use.
I know it sounds silly but I do have a C++ code that calls a big Fortran code inside and I need to to use OpenMP. I am trying to keep the parallel region only inside Fortran (because there are many COMMON blocks and EQUIVALENCEs used) so I have to translate a few hundreds of lines of C++ functions to Fortran.
Depending on the compiler (such as the GNU compilers), you're actually able to compile C, C++, Fortran, etc. code together. This is so you don't actually have to translate or rewrite that code. C++ Forum Answer

How to start programming on Audio/Video stream with c++? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
i know c++ programming language very well. i would like to start programming on Audio/Video/image processing. i am newbie for these streams.
Please help me out on how should I start or which one should i pick up first?
What would be the learning curve for beginner like me to catch the concept properly.?
Also , please mention good books or reference for beginner?
Why i am asking this question is i want to do programming for Audio/Video/image processing as professional as hoping that this would add valuable skill in my resume for future growth.
About image processing:
Book: Digital Image Processing - R. Gonzalez, R. Woods
C++ Library: OpenCV

Writing custom script language [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm not sure if this is on the right forum but im putting it here.
I am interesting in writing my own script language that is easy to embed in any language. I want to do it for educational purposes, to see how it works and to learn more about how programming languages and script languages work and how they can work together. I am a college student learning c and c++. I am eager to learn as much as I can.
Could anybody tell me where I could find some resources or books to help me get started? What else I could do to learn the same things?
Look for compiler-compilers.
As a dinosaur, I'd say look into flex/bison to have the full featured options (but also developer responsibilities):
http://www.cse.wustl.edu/~beardj/FlexBisonC++.html
It will certainly address the educational purposes. See that a programming language consists of a 'scanner', that tokenizes characters into words, and a parser, that combines words to expressions, statements, and complete programs.

C WinAPI and C++ MFC resource [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I would like to ask you guys if you know what are the best(comprehensive) books for the following topics:
C Win32/WinAPI programming;
Book or Catalog of windows functions in windows.h and all the other windows library for c;
Book or Catalog of standard C library;
C++ MFC books;
I did my homework, but google does not certify nor guarantee professional answers, i hope Stack Overflow does.
thank you.
Petzold for learning the raw windows API
http://www.amazon.com/exec/obidos/ISBN=157231995X
This will give you a good foundation for groking how things work under the hood. This is important because MFC is essentially a wrapper and and sometimes you have to get lower level. You'll be a much stronger developer if you don't depend on the IDE and wizards for everything. Petzold strongly emphasizes this.
Prosise is good for MFC:
http://www.amazon.com/Programming-Windows-MFC-Second-Edition/dp/1572316950

coding mental block, wants inspiration from beautiful coding [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm having a coding mental block and wish to draw inspiration from other's coding. Where can I find beautiful coding (elegant, succinct, self-documenting) to refresh my mind. Github can be a place to start but I don't know authors to look for.
Perhaps not what you had in mind, but the book Beautiful Code is certainly worth consideration.
In addition to the other post, I'd add maybe checking out some other languages. You'll find beautiful concepts and new ways to program in Scheme, Haskell, Ocaml, Clojure, Erlang, etc... Some of those languages have features which you can apply to C++, and some of them make really nice examples in their implementation.