C/C++ MSVS C++ compiler:Visitor/iterator patterns and tree parsing

AI Thread Summary
The discussion centers on the use of specific patterns in processing syntax and grammar trees during compiler creation, with a focus on MSVS C++. Participants note the challenges of verifying such details due to the proprietary nature of many compilers, including MSVS C++. The consensus suggests that without access to the source code, it is difficult to confirm whether certain patterns were employed. Consequently, it is recommended to explore alternative compilers that are open source for more fruitful research opportunities.
inotyce
Messages
43
Reaction score
1
While creating the compiler, did they use these patterns to process the syntax/grammar trees ? I use MSVS C++ as a specific example, it can be any compiler in general.
Thank you a lot.
 
Last edited:
Technology news on Phys.org
Given that this compiler is not open source, even if somebody told you the patters were or were not used, you would have no way of verifying that and studying whatever details might be of interest.

I suggest you pick some other target for your research.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top